morphos\RussianGeneralDeclension::chooseVowelAfterConsonant PHP Method

chooseVowelAfterConsonant() protected method

protected chooseVowelAfterConsonant ( $last, $soft_last, $after_soft, $after_hard )
    protected function chooseVowelAfterConsonant($last, $soft_last, $after_soft, $after_hard)
    {
        if ($this->isHissingConsonant($last) || $this->isVelarConsonant($last) || $soft_last) {
            return $after_soft;
        } else {
            return $after_hard;
        }
    }