Completed
Branch master (49a6bc)
by
unknown
27:46
created
languages/classes/LanguageGan.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/classes/LanguageKaa.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.
maintenance/updateDoubleWidthSearch.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@
 block discarded – undo
121 121
 		}
122 122
 	}
123 123
 
124
+	/**
125
+	 * @param IDatabase $dbw
126
+	 */
124 127
 	public function doSpecialPageCacheUpdates( $dbw ) {
125 128
 		global $wgSpecialPageCacheUpdates;
126 129
 
Please login to merge, or discard this patch.
includes/debug/MWDebug.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 	 * Adds a line to the log
93 93
 	 *
94 94
 	 * @since 1.19
95
-	 * @param mixed $str
95
+	 * @param string $str
96 96
 	 */
97 97
 	public static function log( $str ) {
98 98
 		if ( !self::$enabled ) {
Please login to merge, or discard this patch.
includes/jobqueue/JobQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
 
378 378
 	/**
379 379
 	 * @see JobQueue::pop()
380
-	 * @return Job|bool
380
+	 * @return Job
381 381
 	 */
382 382
 	abstract protected function doPop();
383 383
 
Please login to merge, or discard this patch.
includes/session/CookieSessionProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -302,8 +302,8 @@
 block discarded – undo
302 302
 	 * @param \WebRequest $request
303 303
 	 * @param string $key
304 304
 	 * @param string $prefix
305
-	 * @param mixed $default
306
-	 * @return mixed
305
+	 * @param boolean $default
306
+	 * @return string
307 307
 	 */
308 308
 	protected function getCookie( $request, $key, $prefix, $default = null ) {
309 309
 		$value = $request->getCookie( $key, $prefix, $default );
Please login to merge, or discard this patch.
includes/db/loadbalancer/LoadBalancer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 	 * @param string|bool $group Query group, or false for the generic reader
233 233
 	 * @param string|bool $wiki Wiki ID, or false for the current wiki
234 234
 	 * @throws MWException
235
-	 * @return bool|int|string
235
+	 * @return string
236 236
 	 */
237 237
 	public function getReaderIndex( $group = false, $wiki = false ) {
238 238
 		global $wgDBtype;
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
 	 * Returns false if there is no connection open
438 438
 	 *
439 439
 	 * @param int $i
440
-	 * @return DatabaseBase|bool False on failure
440
+	 * @return DatabaseBase|null False on failure
441 441
 	 */
442 442
 	public function getAnyOpenConnection( $i ) {
443 443
 		foreach ( $this->mConns as $conns ) {
@@ -968,7 +968,7 @@  discard block
 block discarded – undo
968 968
 
969 969
 	/**
970 970
 	 * Get the current master position for chronology control purposes
971
-	 * @return mixed
971
+	 * @return DBMasterPos
972 972
 	 */
973 973
 	public function getMasterPos() {
974 974
 		# If this entire request was served from a slave without opening a connection to the
@@ -1289,7 +1289,7 @@  discard block
 block discarded – undo
1289 1289
 	/**
1290 1290
 	 * Call a function with each open connection object
1291 1291
 	 * @param callable $callback
1292
-	 * @param array $params
1292
+	 * @param string[] $params
1293 1293
 	 */
1294 1294
 	public function forEachOpenConnection( $callback, array $params = [] ) {
1295 1295
 		foreach ( $this->mConns as $conns2 ) {
@@ -1364,7 +1364,7 @@  discard block
 block discarded – undo
1364 1364
 	 * case on many installations.
1365 1365
 	 *
1366 1366
 	 * @param IDatabase $conn
1367
-	 * @return int|bool Returns false on error
1367
+	 * @return integer Returns false on error
1368 1368
 	 */
1369 1369
 	public function safeGetLag( IDatabase $conn ) {
1370 1370
 		if ( $this->getServerCount() == 1 ) {
Please login to merge, or discard this patch.
includes/search/SearchSuggestion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
 	/**
56 56
 	 * Construct a new suggestion
57 57
 	 * @param float $score the suggestion score
58
-	 * @param string $text|null the suggestion text
59 58
 	 * @param Title|null $suggestedTitle the suggested title
60 59
 	 * @param int|null $suggestedTitleID the suggested title ID
60
+	 * @param string $text
61 61
 	 */
62 62
 	public function __construct( $score, $text = null, Title $suggestedTitle = null,
63 63
 			$suggestedTitleID = null ) {
Please login to merge, or discard this patch.
includes/MagicWordArray.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -771,7 +771,7 @@  discard block
 block discarded – undo
771 771
 
772 772
 	/**
773 773
 	 * Get the base regex
774
-	 * @return array
774
+	 * @return string[]
775 775
 	 */
776 776
 	function getBaseRegex() {
777 777
 		if ( is_null( $this->baseRegex ) ) {
@@ -815,7 +815,7 @@  discard block
 block discarded – undo
815 815
 	/**
816 816
 	 * Get a regex for matching variables with parameters
817 817
 	 *
818
-	 * @return string
818
+	 * @return string[]
819 819
 	 */
820 820
 	function getVariableRegex() {
821 821
 		return str_replace( "\\$1", "(.*?)", $this->getRegex() );
@@ -868,7 +868,7 @@  discard block
 block discarded – undo
868 868
 	 * Returns array(magic word ID, parameter value)
869 869
 	 * If there is no parameter value, that element will be false.
870 870
 	 *
871
-	 * @param array $m
871
+	 * @param string[] $m
872 872
 	 *
873 873
 	 * @throws MWException
874 874
 	 * @return array
Please login to merge, or discard this patch.