Completed
Branch master (49a6bc)
by
unknown
27:46
created
includes/api/ApiAuthManagerHelper.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -275,8 +275,6 @@  discard block
 block discarded – undo
275 275
 
276 276
 	/**
277 277
 	 * Clean up a field array for output
278
-	 * @param ApiBase $module For context and parameters 'mergerequestfields'
279
-	 *  and 'messageformat'
280 278
 	 * @param array $fields
281 279
 	 * @return array
282 280
 	 */
@@ -315,6 +313,7 @@  discard block
 block discarded – undo
315 313
 	 * Fetch the standard parameters this helper recognizes
316 314
 	 * @param string $action AuthManager action
317 315
 	 * @param string $param... Parameters to use
316
+	 * @param string $param
318 317
 	 * @return array
319 318
 	 */
320 319
 	public static function getStandardParams( $action, $param /* ... */ ) {
Please login to merge, or discard this patch.
includes/cache/CacheDependency.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 	}
173 173
 
174 174
 	/**
175
-	 * @return array
175
+	 * @return string[]
176 176
 	 */
177 177
 	function __sleep() {
178 178
 		$this->loadDependencyValues();
@@ -228,6 +228,9 @@  discard block
 block discarded – undo
228 228
 	private $name;
229 229
 	private $value;
230 230
 
231
+	/**
232
+	 * @param string $name
233
+	 */
231 234
 	function __construct( $name ) {
232 235
 		$this->name = $name;
233 236
 		$this->value = $GLOBALS[$name];
@@ -252,6 +255,9 @@  discard block
 block discarded – undo
252 255
 	private $name;
253 256
 	private $value;
254 257
 
258
+	/**
259
+	 * @param string $name
260
+	 */
255 261
 	function __construct( $name ) {
256 262
 		$this->name = $name;
257 263
 		$this->value = $this->getConfig()->get( $this->name );
@@ -280,6 +286,9 @@  discard block
 block discarded – undo
280 286
 	private $name;
281 287
 	private $value;
282 288
 
289
+	/**
290
+	 * @param string $name
291
+	 */
283 292
 	function __construct( $name ) {
284 293
 		$this->name = $name;
285 294
 		$this->value = constant( $name );
Please login to merge, or discard this patch.
includes/libs/StatusValue.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 	/**
140 140
 	 * Add a new warning
141 141
 	 *
142
-	 * @param string|MessageSpecifier $message Message key or object
142
+	 * @param Message $message Message key or object
143 143
 	 */
144 144
 	public function warning( $message /*, parameters... */ ) {
145 145
 		$this->errors[] = [
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 	 * Add an error and set OK to false, indicating that the operation
168 168
 	 * as a whole was fatal
169 169
 	 *
170
-	 * @param string|MessageSpecifier $message Message key or object
170
+	 * @param string $message Message key or object
171 171
 	 */
172 172
 	public function fatal( $message /*, parameters... */ ) {
173 173
 		$this->errors[] = [
Please login to merge, or discard this patch.
includes/skins/QuickTemplate.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -97,6 +97,7 @@
 block discarded – undo
97 97
 	/**
98 98
 	 * Main function, used by classes that subclass QuickTemplate
99 99
 	 * to show the actual HTML output
100
+	 * @return string
100 101
 	 */
101 102
 	abstract public function execute();
102 103
 
Please login to merge, or discard this patch.
includes/specialpage/AuthManagerSpecialPage.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 	 * Get the default action for this special page, if none is given via URL/POST data.
198 198
 	 * Subclasses should override this (or override loadAuth() so this is never called).
199 199
 	 * @param string $subPage Subpage of the special page.
200
-	 * @return string an AuthManager::ACTION_* constant.
200
+	 * @return string|null an AuthManager::ACTION_* constant.
201 201
 	 */
202 202
 	protected function getDefaultAction( $subPage ) {
203 203
 		throw new BadMethodCallException( 'Subclass did not implement getDefaultAction' );
@@ -206,6 +206,7 @@  discard block
 block discarded – undo
206 206
 	/**
207 207
 	 * Return custom message key.
208 208
 	 * Allows subclasses to customize messages.
209
+	 * @param string $defaultKey
209 210
 	 * @return string
210 211
 	 */
211 212
 	protected function messageKey( $defaultKey ) {
@@ -708,7 +709,7 @@  discard block
 block discarded – undo
708 709
 	 * Get an array value, or a default if it does not exist.
709 710
 	 * @param array $array
710 711
 	 * @param string $fieldName
711
-	 * @param mixed $default
712
+	 * @param integer $default
712 713
 	 * @return mixed
713 714
 	 */
714 715
 	protected static function getField( array $array, $fieldName, $default = null ) {
Please login to merge, or discard this patch.
includes/specials/helpers/LoginHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 	}
86 86
 
87 87
 	/**
88
-	 * @return array
88
+	 * @return string[]
89 89
 	 */
90 90
 	function getOrderFields() {
91 91
 		return array( 'rd_namespace', 'rd_title', 'rd_from' );
Please login to merge, or discard this patch.
includes/diff/DairikiDiff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
 	 *    $diff = new Diff($lines1, $lines2);
233 233
 	 *    $rev = $diff->reverse();
234 234
 	 *
235
-	 * @return Object A Diff object representing the inverse of the
235
+	 * @return Diff A Diff object representing the inverse of the
236 236
 	 *   original diff.
237 237
 	 */
238 238
 	public function reverse() {
Please login to merge, or discard this patch.
includes/diff/DiffEngine.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -222,6 +222,13 @@  discard block
 block discarded – undo
222 222
 		return $ranges;
223 223
 	}
224 224
 
225
+	/**
226
+	 * @param integer $bottoml1
227
+	 * @param integer $topl1
228
+	 * @param integer $bottoml2
229
+	 * @param integer $topl2
230
+	 * @param integer[] $snake
231
+	 */
225 232
 	private function lcs_rec( $bottoml1, $topl1, $bottoml2, $topl2, &$V, &$snake ) {
226 233
 		// check that both sequences are non-empty
227 234
 		if ( $bottoml1 > $topl1 || $bottoml2 > $topl2 ) {
@@ -490,6 +497,11 @@  discard block
 block discarded – undo
490 497
 		*/
491 498
 	}
492 499
 
500
+	/**
501
+	 * @param double $M
502
+	 * @param double $N
503
+	 * @param double $limit
504
+	 */
493 505
 	private static function findMostProgress( $M, $N, $limit, $V ) {
494 506
 		$delta = $N - $M;
495 507
 
@@ -609,6 +621,12 @@  discard block
 block discarded – undo
609 621
 	/** @var int */
610 622
 	public $rightlength;
611 623
 
624
+	/**
625
+	 * @param integer $leftstart
626
+	 * @param integer $leftend
627
+	 * @param integer $rightstart
628
+	 * @param integer $rightend
629
+	 */
612 630
 	function __construct( $leftstart, $leftend, $rightstart, $rightend ) {
613 631
 		$this->leftstart = $leftstart;
614 632
 		$this->leftend = $leftend;
Please login to merge, or discard this patch.
includes/interwiki/ClassicInterwikiLookup.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
 		}
113 113
 	}
114 114
 
115
+	/**
116
+	 * @return string
117
+	 */
115 118
 	function stripParameters( $text ) {
116 119
 		if ( !$this->stripParametersEnabled ) {
117 120
 			return $text;
Please login to merge, or discard this patch.