Completed
Push — master ( f835ba...dee201 )
by mw
47:53 queued 08:25
created
src/Maintenance/DataRebuilder.php 1 patch
Doc Comments   +14 added lines, -1 removed lines patch added patch discarded remove patch
@@ -305,6 +305,9 @@  discard block
 block discarded – undo
305 305
 		return true;
306 306
 	}
307 307
 
308
+	/**
309
+	 * @param double $byIdDataRebuildDispatcher
310
+	 */
308 311
 	private function doExecuteFor( $byIdDataRebuildDispatcher, &$id ) {
309 312
 
310 313
 		if ( !$this->options->has( 'ignore-exceptions' ) ) {
@@ -388,6 +391,9 @@  discard block
 block discarded – undo
388 391
 		return true;
389 392
 	}
390 393
 
394
+	/**
395
+	 * @param double $byIdDataRebuildDispatcher
396
+	 */
391 397
 	private function deleteMarkedSubjects( $byIdDataRebuildDispatcher ) {
392 398
 
393 399
 		$matches = array();
@@ -421,6 +427,9 @@  discard block
 block discarded – undo
421 427
 		$this->reportMessage( "\n\n{$matchesCount} IDs removed.\n\n" );
422 428
 	}
423 429
 
430
+	/**
431
+	 * @param string $startIdFile
432
+	 */
424 433
 	private function idFileIsWritable( $startIdFile ) {
425 434
 
426 435
 		if ( !is_writable( file_exists( $startIdFile ) ? $startIdFile : dirname( $startIdFile ) ) ) {
@@ -437,7 +446,7 @@  discard block
 block discarded – undo
437 446
 	}
438 447
 
439 448
 	/**
440
-	 * @param array $options
449
+	 * @param Options $options
441 450
 	 */
442 451
 	private function setFiltersFromOptions( Options $options ) {
443 452
 		$this->filters = array();
@@ -457,6 +466,10 @@  discard block
 block discarded – undo
457 466
 		}
458 467
 	}
459 468
 
469
+	/**
470
+	 * @param boolean $verbose
471
+	 * @param string $progress
472
+	 */
460 473
 	private function doPrintDotProgressIndicator( $verbose, $progress ) {
461 474
 
462 475
 		if ( ( $this->rebuildCount - 1 ) % 60 === 0 ) {
Please login to merge, or discard this patch.
includes/dataitems/SMW_DI_Property.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -259,6 +259,7 @@  discard block
 block discarded – undo
259 259
 	/**
260 260
 	 * @since  2.0
261 261
 	 *
262
+	 * @param string $propertyTypeId
262 263
 	 * @return self
263 264
 	 * @throws RuntimeException
264 265
 	 * @throws InvalidArgumentException
@@ -391,6 +392,7 @@  discard block
 block discarded – undo
391 392
 
392 393
 	/**
393 394
 	 * @deprecated since 2.1, use PropertyRegistry::findPropertyIdByLabel
395
+	 * @param string $label
394 396
 	 */
395 397
 	public static function findPropertyID( $label, $useAlias = true ) {
396 398
 		return PropertyRegistry::getInstance()->findPropertyIdByLabel( $label, $useAlias );
@@ -424,6 +426,9 @@  discard block
 block discarded – undo
424 426
 		PropertyRegistry::getInstance()->registerPropertyAlias( $id, $label );
425 427
 	}
426 428
 
429
+	/**
430
+	 * @param string $subobjectName
431
+	 */
427 432
 	private function newDIWikiPage( $dbkey, $subobjectName ) {
428 433
 
429 434
 		// If an inverse marker is present just omit the marker so a normal
Please login to merge, or discard this patch.
src/DataTypeRegistry.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 	/**
323 323
 	 * @since 2.4
324 324
 	 *
325
-	 * @return array
325
+	 * @return string[]
326 326
 	 */
327 327
 	public function getCanonicalDatatypeLabels() {
328 328
 		return $this->canonicalLabels;
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
 	 * returned for internal types without user labels (e.g. the special types
335 335
 	 * for some special properties), and for user defined types.
336 336
 	 *
337
-	 * @return array
337
+	 * @return string[]
338 338
 	 */
339 339
 	public function getKnownTypeLabels() {
340 340
 		return $this->typeLabels;
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
 	/**
344 344
 	 * @since 2.1
345 345
 	 *
346
-	 * @return array
346
+	 * @return string[]
347 347
 	 */
348 348
 	public function getKnownTypeAliases() {
349 349
 		return $this->typeAliases;
Please login to merge, or discard this patch.
src/PropertyRegistry.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	/**
124 124
 	 * @since 2.1
125 125
 	 *
126
-	 * @return array
126
+	 * @return string[]
127 127
 	 */
128 128
 	public function getKnownPropertyAliases() {
129 129
 		return $this->propertyAliasFinder->getKnownPropertyAliases();
@@ -267,6 +267,7 @@  discard block
 block discarded – undo
267 267
 
268 268
 	/**
269 269
 	 * @deprecated since 2.1 use findPropertyIdByLabel instead
270
+	 * @param string $label
270 271
 	 */
271 272
 	public function findPropertyId( $label, $useAlias = true ) {
272 273
 		return $this->findPropertyIdByLabel( $label, $useAlias );
@@ -369,6 +370,9 @@  discard block
 block discarded – undo
369 370
 		\Hooks::run( 'SMW::Property::initProperties', array( $this ) );
370 371
 	}
371 372
 
373
+	/**
374
+	 * @param string|boolean $label
375
+	 */
372 376
 	private function registerPropertyLabel( $id, $label, $asCanonical = true ) {
373 377
 		$this->propertyLabelFinder->registerPropertyLabel( $id, $label, $asCanonical );
374 378
 	}
Please login to merge, or discard this patch.
src/DataValues/UniquenessConstraintValue.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * @see DataValue::parseUserValue
31 31
 	 *
32
-	 * @param string $value
33 32
 	 */
34 33
 	protected function parseUserValue( $userValue ) {
35 34
 
Please login to merge, or discard this patch.
src/DataValues/ValueValidators/UniquenessConstraintValueValidator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@
 block discarded – undo
136 136
 		}
137 137
 	}
138 138
 
139
+	/**
140
+	 * @param string $hash
141
+	 */
139 142
 	private function tryFindMatchResultFor( $hash, $dataValue ) {
140 143
 
141 144
 		$descriptionFactory = $this->queryFactory->newDescriptionFactory();
Please login to merge, or discard this patch.
src/SQLStore/PropertyTableIdReferenceFinder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
 		return $reference === false || $reference === null ? false : $reference;
120 120
 	}
121 121
 
122
+	/**
123
+	 * @param integer $id
124
+	 */
122 125
 	private function findReferenceByPropertyTable( $proptable, $id ) {
123 126
 
124 127
 		$row = false;
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3_Readers.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 	 *
185 185
 	 * @since 1.8
186 186
 	 *
187
-	 * @param $subject mixed DIWikiPage or null
187
+	 * @param null|SMWDataItem $subject mixed DIWikiPage or null
188 188
 	 * @param $property SMWDIProperty
189 189
 	 * @param $requestOptions SMWRequestOptions
190 190
 	 *
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
 	 * @param SMWDataItem $value
662 662
 	 * @param SMWRequestOptions|null $requestOptions
663 663
 	 *
664
-	 * @return array of SMWWikiPageValue
664
+	 * @return SMWDataItem[] of SMWWikiPageValue
665 665
 	 */
666 666
 	public function getInProperties( SMWDataItem $value, SMWRequestOptions $requestOptions = null ) {
667 667
 
Please login to merge, or discard this patch.
tests/phpunit/Utils/Validators/SemanticDataValidator.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	/**
113 113
 	 * @since 2.1
114 114
 	 *
115
-	 * @param array $expected
115
+	 * @param DIProperty[] $expected
116 116
 	 * @param array $properties
117 117
 	 */
118 118
 	public function assertHasProperties( array $expected, array $properties ) {
@@ -344,6 +344,10 @@  discard block
 block discarded – undo
344 344
 		);
345 345
 	}
346 346
 
347
+	/**
348
+	 * @param \SMWDataValue $dataValue
349
+	 * @param string $defaultFormatter
350
+	 */
347 351
 	private function assertContainsPropertyValues( &$expected, $dataValue, $defaultFormatter, $formatterParameters = array() ) {
348 352
 
349 353
 		if ( !isset( $expected['propertyValues'] ) ) {
Please login to merge, or discard this patch.