diff --git a/laravel/pluralizer.php b/laravel/pluralizer.php index 2ce72f0b..90f12b19 100644 --- a/laravel/pluralizer.php +++ b/laravel/pluralizer.php @@ -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