From 9df88c461bfd048c13576567328fe63b4a82a88a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 22 Mar 2012 15:11:19 -0500 Subject: [PATCH] Use Str::lower in pluralizer. --- laravel/pluralizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/pluralizer.php b/laravel/pluralizer.php index ace66fce..857a7ff5 100644 --- a/laravel/pluralizer.php +++ b/laravel/pluralizer.php @@ -99,7 +99,7 @@ protected function auto($value, $source, $irregular) // If the word hasn't been cached, we'll check the list of words that // that are "uncountable". This should be a quick look up since we // can just hit the array directly for the value. - if (in_array(strtolower($value), $this->config['uncountable'])) + if (in_array(Str::lower($value), $this->config['uncountable'])) { return $value; }