Use Str::lower in pluralizer.

This commit is contained in:
Taylor Otwell 2012-03-22 15:11:19 -05:00
parent e942c2032f
commit 9df88c461b
1 changed files with 1 additions and 1 deletions

View File

@ -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 // 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 // that are "uncountable". This should be a quick look up since we
// can just hit the array directly for the value. // 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; return $value;
} }