diff --git a/src/Russian/LastNamesInflection.php b/src/Russian/LastNamesInflection.php index 8d5fb39..3c6f798 100644 --- a/src/Russian/LastNamesInflection.php +++ b/src/Russian/LastNamesInflection.php @@ -121,7 +121,7 @@ public static function getCases($name, $gender = null) if (static::isMutable($name, $gender)) { if ($gender == static::MALE) { - if (in_array(S::slice($name, -2), ['ов', 'ев', 'ин', 'ын'], true)) { + if (in_array(S::slice($name, -2), ['ов', 'ев', 'ин', 'ын', 'ёв'], true)) { $prefix = S::name($name); return [ static::IMENIT => $prefix, @@ -159,7 +159,7 @@ public static function getCases($name, $gender = null) } } else { - if (in_array(S::slice($name, -3), ['ова', 'ева', 'ина', 'ына'], true)) { + if (in_array(S::slice($name, -3), ['ова', 'ева', 'ина', 'ына', 'ёва'], true)) { $prefix = S::name(S::slice($name, 0, -1)); return [ static::IMENIT => S::name($name),