Skip to content

Commit

Permalink
Fix wapmorgan#65 pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
altapo authored Dec 24, 2019
1 parent 945e073 commit 4b1db84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Russian/LastNamesInflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static function getCases($name, $gender = null)
$prefix = S::name(S::slice($name, 0, -1));
return [
static::IMENIT => S::name($name),
static::RODIT => $prefix.(static::isDeafConsonant(S::slice($name, -2, -1)) ? 'и' : 'ы'),
static::RODIT => $prefix.(static::isSonorousConsonant(S::slice($name, -2, -1)) ? 'и' : 'ы'),
static::DAT => $prefix.'е',
static::VINIT => $prefix.'у',
static::TVORIT => $prefix.'ой',
Expand Down

0 comments on commit 4b1db84

Please sign in to comment.