Code Duplication    Length = 7-7 lines in 2 locations

languages/Language.php 2 locations

@@ 925-931 (lines=7) @@
922
	/**
923
	 * @return array
924
	 */
925
	public function getMonthNamesArray() {
926
		$monthNames = [ '' ];
927
		for ( $i = 1; $i < 13; $i++ ) {
928
			$monthNames[] = $this->getMonthName( $i );
929
		}
930
		return $monthNames;
931
	}
932
933
	/**
934
	 * @param string $key
@@ 952-958 (lines=7) @@
949
	/**
950
	 * @return array
951
	 */
952
	public function getMonthAbbreviationsArray() {
953
		$monthNames = [ '' ];
954
		for ( $i = 1; $i < 13; $i++ ) {
955
			$monthNames[] = $this->getMonthAbbreviation( $i );
956
		}
957
		return $monthNames;
958
	}
959
960
	/**
961
	 * @param string $key