Code Duplication    Length = 3-3 lines in 2 locations

languages/classes/LanguageHu.php 1 location

@@ 38-40 (lines=3) @@
35
	 */
36
	function convertGrammar( $word, $case ) {
37
		global $wgGrammarForms;
38
		if ( isset( $wgGrammarForms[$this->getCode()][$case][$word] ) ) {
39
			return $wgGrammarForms[$this->getCode()][$case][$word];
40
		}
41
42
		switch ( $case ) {
43
			case 'rol':

languages/Language.php 1 location

@@ 3804-3806 (lines=3) @@
3801
	 */
3802
	function convertGrammar( $word, $case ) {
3803
		global $wgGrammarForms;
3804
		if ( isset( $wgGrammarForms[$this->getCode()][$case][$word] ) ) {
3805
			return $wgGrammarForms[$this->getCode()][$case][$word];
3806
		}
3807
3808
		return $word;
3809
	}