Don't cast in pluralizer.
This commit is contained in:
parent
6a6873440e
commit
62b55ff7a1
|
@ -67,7 +67,7 @@ public function singular($value)
|
||||||
*/
|
*/
|
||||||
public function plural($value, $count = 2)
|
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
|
// 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
|
// is inflected so we don't have to spin through the regular expressions
|
||||||
|
|
Loading…
Reference in New Issue