*/
function convertGrammar( $word, $case ) {
global $wgGrammarForms;
- if ( isset($wgGrammarForms['sl'][$case][$word]) ) {
+ if ( isset( $wgGrammarForms['sl'][$case][$word] ) ) {
return $wgGrammarForms['sl'][$case][$word];
}
}
function convertPlural( $count, $forms ) {
- if ( !count($forms) ) { return ''; }
+ if ( !count( $forms ) ) { return ''; }
$forms = $this->preConvertPlural( $forms, 5 );
if ( $count % 100 == 1 ) {