Commit 62b55ff7 authored by Taylor Otwell's avatar Taylor Otwell

Don't cast in pluralizer.

parent 6a687344
......@@ -67,7 +67,7 @@ class Pluralizer {
*/
public function plural($value, $count = 2)
{
if ((int) $count == 1) return $value;
if ($count == 1) return $value;
// First we'll check the cache of inflected values. We cache each word that
// is inflected so we don't have to spin through the regular expressions
......
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