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

@@ 3733-3735 (lines=3) @@
3730
	 */
3731
	function convertGrammar( $word, $case ) {
3732
		global $wgGrammarForms;
3733
		if ( isset( $wgGrammarForms[$this->getCode()][$case][$word] ) ) {
3734
			return $wgGrammarForms[$this->getCode()][$case][$word];
3735
		}
3736
3737
		return $word;
3738
	}