Fixed plural count check
This commit is contained in:
parent
75ba2447f8
commit
e84fb806f8
|
@ -138,7 +138,7 @@ class Inflector {
|
|||
*/
|
||||
public static function plural($value, $count = null)
|
||||
{
|
||||
if ( ! is_null($count) and $count <= 1) return $value;
|
||||
if ( ! is_null($count) and $count == 1) return $value;
|
||||
|
||||
$irregular = array_flip(static::$irregular);
|
||||
|
||||
|
|
Loading…
Reference in New Issue