Completed
Push — master ( ebe875...a265d1 )
by mw
94:25 queued 69:18
created
src/MediaWiki/ManualEntryLogger.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	/**
23 23
 	 * @since 2.4
24 24
 	 *
25
-	 * @param string $eventTypes
25
+	 * @param string $eventType
26 26
 	 */
27 27
 	public function registerLoggableEventType( $eventType ) {
28 28
 		$this->eventTypes[$eventType] = true;
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
 		return $logEntry->insert();
64 64
 	}
65 65
 
66
+	/**
67
+	 * @param string $type
68
+	 */
66 69
 	protected function newManualLogEntryForType( $type ) {
67 70
 		return new ManualLogEntry( 'smw', $type );
68 71
 	}
Please login to merge, or discard this patch.
src/Message.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	/**
61 61
 	 * @since 2.4
62 62
 	 *
63
-	 * @param $type
63
+	 * @param string $type
64 64
 	 */
65 65
 	public static function deregisterHandlerFor( $type ) {
66 66
 		unset( self::$messageHandler[$type] );
Please login to merge, or discard this patch.
src/DataValues/UnitConversionFetcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -226,6 +226,9 @@
 block discarded – undo
226 226
 		);
227 227
 	}
228 228
 
229
+	/**
230
+	 * @param boolean $asPrefix
231
+	 */
229 232
 	private function matchUnitAliases( $number, $asPrefix, array $unitAliases ) {
230 233
 		$first = true;
231 234
 
Please login to merge, or discard this patch.
src/Localizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 	/**
145 145
 	 * @since 2.4
146 146
 	 *
147
-	 * @param Language|string $languageCode
147
+	 * @param Language|string $language
148 148
 	 *
149 149
 	 * @return ExtraneousLanguage
150 150
 	 */
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_Property.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 * the provided name is not allowed. An object is returned
71 71
 	 * in any case.
72 72
 	 *
73
-	 * @param string $propertyName
73
+	 * @param string $propertyLabel
74 74
 	 *
75 75
 	 * @return SMWPropertyValue
76 76
 	 */
@@ -210,6 +210,9 @@  discard block
 block discarded – undo
210 210
 		}
211 211
 	}
212 212
 
213
+	/**
214
+	 * @param boolean $isinverse
215
+	 */
213 216
 	public function setInverse( $isinverse ) {
214 217
 		return $this->m_dataitem = new DIProperty( $this->m_dataitem->getKey(), ( $isinverse == true ) );
215 218
 	}
@@ -350,6 +353,7 @@  discard block
 block discarded – undo
350 353
 
351 354
 	/**
352 355
 	 * Create special highlighting for hinting at special properties.
356
+	 * @param string $text
353 357
 	 */
354 358
 	protected function highlightText( $text, $linker = null ) {
355 359
 
@@ -440,6 +444,9 @@  discard block
 block discarded – undo
440 444
 		return $this->m_dataitem->getLabel();
441 445
 	}
442 446
 
447
+	/**
448
+	 * @param string $value
449
+	 */
443 450
 	private function doNormalizeUserValue( $value ) {
444 451
 
445 452
 		// #1567
Please login to merge, or discard this patch.
includes/specials/SMW_SpecialSMWAdmin.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -202,6 +202,9 @@  discard block
 block discarded – undo
202 202
 			->getForm();
203 203
 	}
204 204
 
205
+	/**
206
+	 * @param integer $id
207
+	 */
205 208
 	protected function getIdLookupSectionForm( $id ) {
206 209
 
207 210
 		$message = '';
@@ -242,6 +245,9 @@  discard block
 block discarded – undo
242 245
 			->getForm();
243 246
 	}
244 247
 
248
+	/**
249
+	 * @param integer $id
250
+	 */
245 251
 	protected function getIdDisposeSectionForm( $id ) {
246 252
 
247 253
 		$message = '';
@@ -341,6 +347,9 @@  discard block
 block discarded – undo
341 347
 		} );
342 348
 	}
343 349
 
350
+	/**
351
+	 * @param integer $id
352
+	 */
344 353
 	protected function doIdDispose( $id ) {
345 354
 
346 355
 		if ( $GLOBALS['wgRequest']->getText( 'dispose' ) !== 'yes' || $id < 1 ) {
@@ -358,6 +367,9 @@  discard block
 block discarded – undo
358 367
 		$manualEntryLogger->log( 'admin', $this->getUser(), 'Special:SMWAdmin', 'Forced removal of ID '. $id );
359 368
 	}
360 369
 
370
+	/**
371
+	 * @param Closure $text
372
+	 */
361 373
 	protected function printRawOutput( $text ) {
362 374
 		$this->getOutput()->disable(); // raw output
363 375
 		ob_start();
Please login to merge, or discard this patch.
src/DataValues/BooleanValue.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,6 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
 	/**
77 77
 	 * @see DataValue::setOutputFormat
78
+	 * @param string $formatstring
78 79
 	 */
79 80
 	public function setOutputFormat( $formatstring ) {
80 81
 
@@ -160,7 +161,7 @@  discard block
 block discarded – undo
160 161
 	/**
161 162
 	 * Get text for displaying the value of this property, or false if not
162 163
 	 * valid.
163
-	 * @param $useformat bool, true if the output format should be used, false if the returned text should be parsable
164
+	 * @param boolean $useformat bool, true if the output format should be used, false if the returned text should be parsable
164 165
 	 * @return string
165 166
 	 */
166 167
 	protected function getStandardCaption( $useformat ) {
@@ -179,6 +180,9 @@  discard block
 block discarded – undo
179 180
 		);
180 181
 	}
181 182
 
183
+	/**
184
+	 * @param string $value
185
+	 */
182 186
 	private function doParseBoolValue( $value ) {
183 187
 
184 188
 		// Use either the global or page related content language
@@ -223,6 +227,9 @@  discard block
 block discarded – undo
223 227
 		);
224 228
 	}
225 229
 
230
+	/**
231
+	 * @param string $msgKey
232
+	 */
226 233
 	private function getFirstBooleanCaptionFrom( $msgKey, $languageCode = null ) {
227 234
 
228 235
 		$vals = $this->getBooleanWordsFrom(
Please login to merge, or discard this patch.
includes/query/SMW_Query.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,6 +180,9 @@  discard block
 block discarded – undo
180 180
 		$this->errors = array_merge( $this->errors, $errors );
181 181
 	}
182 182
 
183
+	/**
184
+	 * @param string $querystring
185
+	 */
183 186
 	public function setQueryString( $querystring ) {
184 187
 		$this->queryString = $querystring;
185 188
 	}
@@ -253,7 +256,7 @@  discard block
 block discarded – undo
253 256
 	 *
254 257
 	 * @param integer $limit
255 258
 	 *
256
-	 * @return Query
259
+	 * @return SMWQuery
257 260
 	 */
258 261
 	public function setUnboundLimit( $limit ) {
259 262
 		$this->limit = (int)$limit;
@@ -265,7 +268,7 @@  discard block
 block discarded – undo
265 268
 	 *
266 269
 	 * @since 2.2
267 270
 	 *
268
-	 * @param array $sortKeys
271
+	 * @param integer $sortKeys
269 272
 	 */
270 273
 	public function setSortKeys( array $sortKeys ) {
271 274
 		$this->sortkeys = $sortKeys;
Please login to merge, or discard this patch.
includes/query/SMW_QueryProcessor.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -168,7 +168,6 @@  discard block
 block discarded – undo
168 168
 	 * @since 1.7
169 169
 	 *
170 170
 	 * @param array $sortParam
171
-	 * @param array $orders
172 171
 	 * @param string $defaultSort
173 172
 	 *
174 173
 	 * @return array ( keys => array(), errors => array() )
@@ -363,6 +362,7 @@  discard block
 block discarded – undo
363 362
 	 * @param integer $outputMode SMW_OUTPUT_WIKI, SMW_OUTPUT_HTML, ...
364 363
 	 * @param integer $context INLINE_QUERY, SPECIAL_PAGE, CONCEPT_DESC
365 364
 	 * @param boolean $showMode process like #show parser function?
365
+	 * @param DIWikiPage $contextPage
366 366
 	 * @return array( SMWQuery, array of IParam )
367 367
 	 */
368 368
 	static public function getQueryAndParamsFromFunctionParams( array $rawParams, $outputMode, $context, $showMode, $contextPage = null ) {
@@ -415,9 +415,9 @@  discard block
 block discarded – undo
415 415
 	 * printout requests for the query results.
416 416
 	 *
417 417
 	 * @param string $queryString
418
-	 * @param array $params These need to be the result of a list fed to getProcessedParams
418
+	 * @param Param[] $params These need to be the result of a list fed to getProcessedParams
419 419
 	 * @param $extraPrintouts
420
-	 * @param $outputMode
420
+	 * @param integer $outputMode
421 421
 	 * @param $context
422 422
 	 *
423 423
 	 * @return string
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 	 *
530 530
 	 * @since 1.6.2, return element type changed in 1.8
531 531
 	 *
532
-	 * @return IParamDefinition[]
532
+	 * @return ParamProcessor\IParamDefinition[]
533 533
 	 */
534 534
 	public static function getParameters() {
535 535
 		$params = array();
Please login to merge, or discard this patch.