From 55e8755d9e3866307a582b1ce95cee336ad9914b Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 2 Sep 2014 02:19:31 +0530 Subject: [PATCH] Use static:: instead of Inflector::, missed one earlier. --- src/Utility/Inflector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utility/Inflector.php b/src/Utility/Inflector.php index 9d8dd70f522..e7f6833ee48 100644 --- a/src/Utility/Inflector.php +++ b/src/Utility/Inflector.php @@ -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;