Completed
Branch master (1655eb)
by
unknown
22:24
created
languages/classes/LanguageKk.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	/**
44 44
 	 * @param Language $langobj
45 45
 	 * @param string $maincode
46
-	 * @param array $variants
46
+	 * @param string[] $variants
47 47
 	 * @param array $variantfallbacks
48 48
 	 * @param array $flags
49 49
 	 */
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 	/**
323 323
 	 * @param string $text
324 324
 	 * @param string $toVariant
325
-	 * @return mixed|string
325
+	 * @return string|null
326 326
 	 */
327 327
 	function regsConverter( $text, $toVariant ) {
328 328
 		if ( $text == '' ) {
Please login to merge, or discard this patch.
languages/classes/LanguageKk_cyrl.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -738,7 +738,7 @@
 block discarded – undo
738 738
 
739 739
 	/**
740 740
 	 * @param string $word
741
-	 * @param array $allVowels
741
+	 * @param string[] $allVowels
742 742
 	 * @return array
743 743
 	 */
744 744
 	function lastLetter( $word, $allVowels ) {
Please login to merge, or discard this patch.
languages/classes/LanguageTr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 	/**
48 48
 	 * @param string $string
49
-	 * @return mixed|string
49
+	 * @return string
50 50
 	 */
51 51
 	function lcfirst( $string ) {
52 52
 		if ( strlen( $string ) && $string[0] == 'I' ) {
Please login to merge, or discard this patch.
languages/classes/LanguageZh.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	/**
32 32
 	 * @param Language $langobj
33 33
 	 * @param string $maincode
34
-	 * @param array $variants
34
+	 * @param string[] $variants
35 35
 	 * @param array $variantfallbacks
36 36
 	 * @param array $flags
37 37
 	 * @param array $manualLevel
Please login to merge, or discard this patch.
languages/ConverterRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -466,7 +466,7 @@
 block discarded – undo
466 466
 
467 467
 	/**
468 468
 	 * Get converted title.
469
-	 * @return string
469
+	 * @return boolean
470 470
 	 */
471 471
 	public function getTitle() {
472 472
 		return $this->mRuleTitle;
Please login to merge, or discard this patch.
languages/FakeConverter.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
 	 */
33 33
 	public $mLang;
34 34
 
35
+	/**
36
+	 * @param Language $langobj
37
+	 */
35 38
 	function __construct( $langobj ) {
36 39
 		$this->mLang = $langobj;
37 40
 	}
@@ -54,7 +57,7 @@  discard block
 block discarded – undo
54 57
 
55 58
 	/**
56 59
 	 * @param Title $t
57
-	 * @return mixed
60
+	 * @return string
58 61
 	 */
59 62
 	function convertTitle( $t ) {
60 63
 		return $t->getPrefixedText();
Please login to merge, or discard this patch.
languages/LanguageConverter.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 
146 146
 	/**
147 147
 	 * Get the title produced by the conversion rule.
148
-	 * @return string The converted title text
148
+	 * @return boolean The converted title text
149 149
 	 */
150 150
 	public function getConvRuleTitle() {
151 151
 		return $this->mConvRuleTitle;
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 	/**
208 208
 	 * Validate the variant
209 209
 	 * @param string $variant The variant to validate
210
-	 * @return mixed Returns the variant if it is valid, null otherwise
210
+	 * @return string|null Returns the variant if it is valid, null otherwise
211 211
 	 */
212 212
 	public function validateVariant( $variant = null ) {
213 213
 		if ( $variant !== null && in_array( $variant, $this->mVariants ) ) {
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	/**
220 220
 	 * Get the variant specified in the URL
221 221
 	 *
222
-	 * @return mixed Variant if one found, false otherwise.
222
+	 * @return string|null Variant if one found, false otherwise.
223 223
 	 */
224 224
 	public function getURLVariant() {
225 225
 		global $wgRequest;
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
 	/**
243 243
 	 * Determine if the user has a variant set.
244 244
 	 *
245
-	 * @return mixed Variant if one found, false otherwise.
245
+	 * @return string|null Variant if one found, false otherwise.
246 246
 	 */
247 247
 	protected function getUserVariant() {
248 248
 		global $wgUser, $wgContLang;
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 	/**
277 277
 	 * Determine the language variant from the Accept-Language header.
278 278
 	 *
279
-	 * @return mixed Variant if one found, false otherwise.
279
+	 * @return string|null Variant if one found, false otherwise.
280 280
 	 */
281 281
 	protected function getHeaderVariant() {
282 282
 		global $wgRequest;
Please login to merge, or discard this patch.
maintenance/archives/upgradeLogging.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -178,6 +178,10 @@
 block discarded – undo
178 178
 		echo "Copied $numRowsCopied rows\n";
179 179
 	}
180 180
 
181
+	/**
182
+	 * @param string $srcTable
183
+	 * @param string $dstTable
184
+	 */
181 185
 	function copyExactMatch( $srcTable, $dstTable, $copyPos ) {
182 186
 		$numRowsCopied = 0;
183 187
 		$srcRes = $this->dbw->select( $srcTable, '*', array( 'log_timestamp' => $copyPos ), __METHOD__ );
Please login to merge, or discard this patch.
maintenance/benchmarks/bench_HTTP_HTTPS.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
 		print $this->getFormattedResults();
46 46
 	}
47 47
 
48
+	/**
49
+	 * @param string $proto
50
+	 */
48 51
 	static function doRequest( $proto ) {
49 52
 		Http::get( "$proto://localhost/", array(), __METHOD__ );
50 53
 	}
Please login to merge, or discard this patch.