Commit 9df88c46 authored by Taylor Otwell's avatar Taylor Otwell

Use Str::lower in pluralizer.

parent e942c203
......@@ -99,7 +99,7 @@ class Pluralizer {
// 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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment