Skip to content

Commit

Permalink
make readDirectory a static method
Browse files Browse the repository at this point in the history
  • Loading branch information
MauricioMurga committed Aug 6, 2014
1 parent 4365494 commit 6a5061e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/locales/Lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function translate($key, $parameters=null, $locale)
return $result;
}

protected function readDirectory($directory)
protected static function readDirectory($directory)
{
if (!empty(self::$cache)) return self::$cache;

Expand Down

1 comment on commit 6a5061e

@joecohens
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.