Completed
Push — master ( 7a08d5...079d9b )
by Karsten
18:07
created
src/InterlanguageLinkParserFunction.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -125,6 +125,10 @@  discard block
 block discarded – undo
125 125
 		return $this->createSiteLanguageLinks( $interlanguageLink );
126 126
 	}
127 127
 
128
+	/**
129
+	 * @param string $languageCode
130
+	 * @param string $linkReference
131
+	 */
128 132
 	private function getTitleFrom( $isSupportedLanguage, $languageCode, $linkReference ) {
129 133
 
130 134
 		if ( $this->inRevisionMode || !$this->languageLinkAnnotator->canAddAnnotation() ) {
@@ -173,6 +177,9 @@  discard block
 block discarded – undo
173 177
 		return '<div class="sil-interlanguagelink"></div>';
174 178
 	}
175 179
 
180
+	/**
181
+	 * @param string $languageCode
182
+	 */
176 183
 	private function isSupportedLanguage( $languageCode ) {
177 184
 
178 185
 		$languageCode = trim( mb_strtolower( $languageCode ) );
@@ -184,6 +191,9 @@  discard block
 block discarded – undo
184 191
 		return Language::isSupportedLanguage( $languageCode );
185 192
 	}
186 193
 
194
+	/**
195
+	 * @param string $messageKey
196
+	 */
187 197
 	private function createErrorMessageFor( $messageKey, $arg1 = '', $arg2 = '', $arg3 = '',$arg4 = '' ) {
188 198
 		return '<div class="smw-callout smw-callout-error">' . wfMessage(
189 199
 			$messageKey,
Please login to merge, or discard this patch.