Skip to content

Commit

Permalink
Update RussianInflector.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan authored Mar 26, 2018
1 parent 7dd0f42 commit 25b5de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RussianInflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function ordinalize($number, $form = self::SHORT, $gender = self::MALE, $
return \morphos\Russian\OrdinalNumeralGenerator::getCase($number, $case, $gender);

$ordinal = \morphos\Russian\OrdinalNumeralGenerator::getCase($number, $case, $gender);
return $number.'-'.\morphos\S::last_position_for_one_of_chars($ordinal, \morphos\Russian\RussianLanguage::$consonants);
return $number.'-'.\morphos\S::findLastPositionForOneOfChars($ordinal, \morphos\Russian\RussianLanguage::$consonants);
}

public function monetize($currency, $value)
Expand Down

0 comments on commit 25b5de8

Please sign in to comment.