Completed
Push — master ( f5d374...685013 )
by mw
47:54 queued 25:05
created
includes/datavalues/SMW_DV_Number.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	 * Parse a string of the form "number unit" where unit is optional. The
93 93
 	 * results are stored in the $number and $unit parameters. Returns an
94 94
 	 * error code.
95
-	 * @param $value string to parse
95
+	 * @param string $value string to parse
96 96
 	 * @param $number call-by-ref parameter that will be set to the numerical value
97 97
 	 * @param $unit call-by-ref parameter that will be set to the "unit" string (after the number)
98 98
 	 * @return integer 0 (no errors), 1 (no number found at all), 2 (number
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 	/**
227 227
 	 * @since 2.4
228 228
 	 *
229
-	 * @return float
229
+	 * @return string
230 230
 	 */
231 231
 	public function getLocalizedFormattedNumber( $value ) {
232 232
 		return $this->getNumberFormatter()->format( $value, $this->getPreferredDisplayPrecision() );
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
 	/**
236 236
 	 * @since 2.4
237 237
 	 *
238
-	 * @return float
238
+	 * @return string
239 239
 	 */
240 240
 	public function getNormalizedFormattedNumber( $value ) {
241 241
 		return $this->getNumberFormatter()->format( $value, $this->getPreferredDisplayPrecision(), IntlNumberFormatter::VALUE_FORMAT );
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_String.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * @see DataValue::loadDataItem
36 36
 	 *
37
-	 * @param SMWDataItem $dataitem
37
+	 * @param SMWDataItem $dataItem
38 38
 	 *
39 39
 	 * @return boolean
40 40
 	 */
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
 		return $this->getDataValueFormatter()->format( DataValueFormatter::VALUE );
97 97
 	}
98 98
 
99
+	/**
100
+	 * @param integer $length
101
+	 */
99 102
 	public function getWikiValueForLengthOf( $length ) {
100 103
 
101 104
 		if ( mb_strlen( $this->getWikiValue() ) > $length ) {
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_WikiPage.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
 	 */
73 73
 	protected $linkAttributes = array();
74 74
 
75
+	/**
76
+	 * @param string $typeid
77
+	 */
75 78
 	public function __construct( $typeid ) {
76 79
 		parent::__construct( $typeid );
77 80
 		switch ( $typeid ) {
@@ -630,6 +633,9 @@  discard block
 block discarded – undo
630 633
 		return $dvWikiPage;
631 634
 	}
632 635
 
636
+	/**
637
+	 * @param DataItem $subject
638
+	 */
633 639
 	private function findDisplayTitleFor( $subject ) {
634 640
 
635 641
 		$displayTitle = '';
Please login to merge, or discard this patch.
src/DataValues/InfoLinksProvider.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,6 @@  discard block
 block discarded – undo
83 83
 	 *
84 84
 	 * @since 2.4
85 85
 	 *
86
-	 * @param Infolink $link
87 86
 	 */
88 87
 	public function addInfolink( Infolink $infoLink ) {
89 88
 		$this->infoLinks[] = $infoLink;
@@ -92,7 +91,7 @@  discard block
 block discarded – undo
92 91
 	/**
93 92
 	 * @since 2.4
94 93
 	 *
95
-	 * @param array|false $serviceLinkParameters
94
+	 * @param boolean $serviceLinkParameters
96 95
 	 */
97 96
 	public function setServiceLinkParameters( $serviceLinkParameters ) {
98 97
 		$this->serviceLinkParameters = $serviceLinkParameters;
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3.php 1 patch
Doc Comments   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@  discard block
 block discarded – undo
250 250
 		return $this->reader;
251 251
 	}
252 252
 
253
+	/**
254
+	 * @return SemanticData
255
+	 */
253 256
 	public function getSemanticData( DIWikiPage $subject, $filter = false ) {
254 257
 
255 258
 		$result = $this->cachedValueLookupStore->getSemanticData(
@@ -261,7 +264,7 @@  discard block
 block discarded – undo
261 264
 	}
262 265
 
263 266
 	/**
264
-	 * @param mixed $subject
267
+	 * @param DIWikiPage $subject
265 268
 	 * @param DIProperty $property
266 269
 	 * @param null $requestOptions
267 270
 	 *
@@ -407,7 +410,7 @@  discard block
 block discarded – undo
407 410
 	/**
408 411
 	 * @param RequestOptions|null $requestOptions
409 412
 	 *
410
-	 * @return CachedListLookup
413
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
411 414
 	 */
412 415
 	public function getPropertiesSpecial( $requestOptions = null ) {
413 416
 		return $this->factory->newPropertyUsageCachedListLookup( $requestOptions );
@@ -416,7 +419,7 @@  discard block
 block discarded – undo
416 419
 	/**
417 420
 	 * @param RequestOptions|null $requestOptions
418 421
 	 *
419
-	 * @return CachedListLookup
422
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
420 423
 	 */
421 424
 	public function getUnusedPropertiesSpecial( $requestOptions = null ) {
422 425
 		return $this->factory->newUnusedPropertyCachedListLookup( $requestOptions );
@@ -425,7 +428,7 @@  discard block
 block discarded – undo
425 428
 	/**
426 429
 	 * @param RequestOptions|null $requestOptions
427 430
 	 *
428
-	 * @return CachedListLookup
431
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
429 432
 	 */
430 433
 	public function getWantedPropertiesSpecial( $requestOptions = null ) {
431 434
 		return $this->factory->newUndeclaredPropertyCachedListLookup( $requestOptions );
@@ -473,7 +476,7 @@  discard block
 block discarded – undo
473 476
 	 *
474 477
 	 * @since 1.8
475 478
 	 * @param Title $concept
476
-	 * @return array of error strings (empty if no errors occurred)
479
+	 * @return string[] of error strings (empty if no errors occurred)
477 480
 	 */
478 481
 	public function refreshConceptCache( Title $concept ) {
479 482
 		return $this->factory->newMasterConceptCache()->refreshConceptCache( $concept );
@@ -515,7 +518,7 @@  discard block
 block discarded – undo
515 518
 	 * @since 1.8
516 519
 	 *
517 520
 	 * @param SMWRequestOptions|null $requestOptions
518
-	 * @param string $valuecol
521
+	 * @param string $valueCol
519 522
 	 *
520 523
 	 * @return array
521 524
 	 */
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/QueryDependencyLinksStore.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -371,6 +371,9 @@
 block discarded – undo
371 371
 		return $id;
372 372
 	}
373 373
 
374
+	/**
375
+	 * @param DIWikiPage $subject
376
+	 */
374 377
 	private function canSuppressUpdateOnSkewFactorFor( $sid, $subject ) {
375 378
 
376 379
 		if ( $sid < 1 ) {
Please login to merge, or discard this patch.
src/SQLStore/CompositePropertyTableDiffIterator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -100,6 +100,7 @@
 block discarded – undo
100 100
 	 *
101 101
 	 * @since 2.3
102 102
 	 *
103
+	 * @param string $table
103 104
 	 * @return array
104 105
 	 */
105 106
 	public function getOrderedDiffByTable( $table = null ) {
Please login to merge, or discard this patch.
src/DataValueFactory.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 	 * @param string $propertyName property string
183 183
 	 * @param string $valueString user value string
184 184
 	 * @param mixed $caption user-defined caption
185
-	 * @param SMWDIWikiPage|null $contextPage context for parsing the value string
185
+	 * @param null|DIWikiPage $contextPage context for parsing the value string
186 186
 	 *
187 187
 	 * @return DataValue
188 188
 	 */
@@ -306,6 +306,8 @@  discard block
 block discarded – undo
306 306
 	/**
307 307
 	 * @deprecated since 2.4, use DataTypeRegistry::newDataValueByText
308 308
 	 *
309
+	 * @param string $propertyName
310
+	 * @param string $valueString
309 311
 	 * @return DataValue
310 312
 	 */
311 313
 	public function newPropertyValue( $propertyName, $valueString, $caption = false, DIWikiPage $contextPage = null ) {
@@ -314,6 +316,8 @@  discard block
 block discarded – undo
314 316
 
315 317
 	/**
316 318
 	 * @deprecated since 1.9, use DataTypeRegistry::registerDataType
319
+	 * @param string $id
320
+	 * @param string $className
317 321
 	 */
318 322
 	public static function registerDatatype( $id, $className, $dataItemId, $label = false ) {
319 323
 		DataTypeRegistry::getInstance()->registerDataType( $id, $className, $dataItemId, $label );
@@ -321,6 +325,8 @@  discard block
 block discarded – undo
321 325
 
322 326
 	/**
323 327
 	 * @deprecated since 1.9, use DataTypeRegistry::registerDataTypeAlias
328
+	 * @param string $id
329
+	 * @param string $label
324 330
 	 */
325 331
 	public static function registerDatatypeAlias( $id, $label ) {
326 332
 		DataTypeRegistry::getInstance()->registerDataTypeAlias( $id, $label );
Please login to merge, or discard this patch.
src/SQLStore/ByIdDataRebuildDispatcher.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 	/**
94 94
 	 * @since 2.3
95 95
 	 *
96
-	 * @param array|false $namespaces
96
+	 * @param boolean $namespaces
97 97
 	 */
98 98
 	public function setNamespacesTo( $namespaces ) {
99 99
 		$this->namespaces = $namespaces;
@@ -350,6 +350,9 @@  discard block
 block discarded – undo
350 350
 		}
351 351
 	}
352 352
 
353
+	/**
354
+	 * @param boolean $emptyRange
355
+	 */
353 356
 	private function findNextIdPosition( &$id, $emptyRange ) {
354 357
 
355 358
 		$nextPosition = $id + $this->iterationLimit;
Please login to merge, or discard this patch.