Skip to content

Commit

Permalink
Use static:: instead of Inflector::, missed one earlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 1, 2014
1 parent 8458f54 commit 55e8755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/Inflector.php
Expand Up @@ -640,7 +640,7 @@ public static function humanize($lowerCaseAndUnderscoredWord) {
*/
public static function tableize($className) {
if (!($result = static::_cache(__FUNCTION__, $className))) {
$result = static::pluralize(Inflector::underscore($className));
$result = static::pluralize(static::underscore($className));
static::_cache(__FUNCTION__, $className, $result);
}
return $result;
Expand Down

0 comments on commit 55e8755

Please sign in to comment.