Skip to content

Commit

Permalink
Merge pull request webmil#1 from spolischook/patch-1
Browse files Browse the repository at this point in the history
Made getLanguages method able to call without init class
  • Loading branch information
syzspectroom committed Sep 25, 2014
2 parents 76a768a + 65619c3 commit 11a3520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TextLanguageDetect/TextLanguageDetect.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public function languageExists($lang)
* @return array the names of the languages known to this object<<<<<<<
* @throws TextLanguageDetectException
*/
public function getLanguages()
public static function getLanguages()
{
return $this->_convertToNameMode(
array_keys($this->_lang_db)
Expand Down

0 comments on commit 11a3520

Please sign in to comment.