Skip to content

Commit

Permalink
Merge 5b42cb3 into 49a905d
Browse files Browse the repository at this point in the history
  • Loading branch information
dixstonz3 committed Feb 19, 2020
2 parents 49a905d + 5b42cb3 commit 0641808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Russian/GeographicalNamesInflection.php
Expand Up @@ -364,7 +364,7 @@ public static function getCases($name)
$prefix = S::name(S::slice($name, 0, -1));
return [
static::IMENIT => $prefix.'а',
static::RODIT => $prefix.(static::isVelarConsonant(S::slice($name, -2, -1)) ? 'и' : 'ы'),
static::RODIT => $prefix.(static::isVelarConsonant(S::slice($name, -2, -1)) || static::isHissingConsonant(S::slice($name, -2, -1)) ? 'и' : 'ы'),
static::DAT => $prefix.'е',
static::VINIT => $prefix.'у',
static::TVORIT => $prefix.'ой',
Expand Down

0 comments on commit 0641808

Please sign in to comment.