Completed
Push — master ( 30add5...f043e7 )
by mw
14s
created
includes/storage/SQLStore/SMW_Sql3SmwIds.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
 	 *
638 638
 	 * @param integer $sid
639 639
 	 * @param DIWikiPage $subject
640
-	 * @param integer|string|null $interWiki
640
+	 * @param string $interWiki
641 641
 	 */
642 642
 	public function updateInterwikiField( $sid, DIWikiPage $subject, $interWiki = null ) {
643 643
 
@@ -891,9 +891,8 @@  discard block
 block discarded – undo
891 891
 	/**
892 892
 	 * @since 2.3
893 893
 	 *
894
-	 * @param integer $id
895 894
 	 *
896
-	 * @return string[]
895
+	 * @return DIWikiPage[]
897 896
 	 */
898 897
 	public function getDataItemPoolHashListFor( array $idlist ) {
899 898
 		return $this->byIdDataItemFinder->getDataItemPoolHashListFor( $idlist );
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_Sql3StubSemanticData.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	 *
76 76
 	 * @since 2.3
77 77
 	 *
78
-	 * @return array
78
+	 * @return string[]
79 79
 	 */
80 80
 	public function __sleep() {
81 81
 		return array( 'mSubject', 'mPropVals', 'mProperties', 'subSemanticData', 'mStubPropVals' );
@@ -203,6 +203,7 @@  discard block
 block discarded – undo
203 203
 	 * yet to ensure data consistency
204 204
 	 *
205 205
 	 * @since 2.0
206
+	 * @param string $subobjectName
206 207
 	 */
207 208
 	public function hasSubSemanticData( $subobjectName = null ) {
208 209
 
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3.php 1 patch
Doc Comments   +10 added lines, -7 removed lines patch added patch discarded remove patch
@@ -236,6 +236,9 @@  discard block
 block discarded – undo
236 236
 		return $this->reader;
237 237
 	}
238 238
 
239
+	/**
240
+	 * @return SemanticData
241
+	 */
239 242
 	public function getSemanticData( DIWikiPage $subject, $filter = false ) {
240 243
 
241 244
 		$result = $this->cachedValueLookupStore->getSemanticData(
@@ -247,9 +250,9 @@  discard block
 block discarded – undo
247 250
 	}
248 251
 
249 252
 	/**
250
-	 * @param mixed $subject
253
+	 * @param DIWikiPage $subject
251 254
 	 * @param DIProperty $property
252
-	 * @param null $requestoptions
255
+	 * @param null $requestOptions
253 256
 	 *
254 257
 	 * @return SMWDataItem[]
255 258
 	 */
@@ -386,7 +389,7 @@  discard block
 block discarded – undo
386 389
 	/**
387 390
 	 * @param RequestOptions|null $requestOptions
388 391
 	 *
389
-	 * @return CachedListLookup
392
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
390 393
 	 */
391 394
 	public function getPropertiesSpecial( $requestOptions = null ) {
392 395
 		return $this->factory->newPropertyUsageCachedListLookup( $requestOptions );
@@ -395,7 +398,7 @@  discard block
 block discarded – undo
395 398
 	/**
396 399
 	 * @param RequestOptions|null $requestOptions
397 400
 	 *
398
-	 * @return CachedListLookup
401
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
399 402
 	 */
400 403
 	public function getUnusedPropertiesSpecial( $requestOptions = null ) {
401 404
 		return $this->factory->newUnusedPropertyCachedListLookup( $requestOptions );
@@ -404,7 +407,7 @@  discard block
 block discarded – undo
404 407
 	/**
405 408
 	 * @param RequestOptions|null $requestOptions
406 409
 	 *
407
-	 * @return CachedListLookup
410
+	 * @return SMW\SQLStore\Lookup\CachedListLookup
408 411
 	 */
409 412
 	public function getWantedPropertiesSpecial( $requestOptions = null ) {
410 413
 		return $this->factory->newUndeclaredPropertyCachedListLookup( $requestOptions );
@@ -452,7 +455,7 @@  discard block
 block discarded – undo
452 455
 	 *
453 456
 	 * @since 1.8
454 457
 	 * @param Title $concept
455
-	 * @return array of error strings (empty if no errors occurred)
458
+	 * @return string[] of error strings (empty if no errors occurred)
456 459
 	 */
457 460
 	public function refreshConceptCache( Title $concept ) {
458 461
 		return $this->factory->newMasterConceptCache()->refreshConceptCache( $concept );
@@ -494,7 +497,7 @@  discard block
 block discarded – undo
494 497
 	 * @since 1.8
495 498
 	 *
496 499
 	 * @param SMWRequestOptions|null $requestOptions
497
-	 * @param string $valuecol
500
+	 * @param string $valueCol
498 501
 	 *
499 502
 	 * @return array
500 503
 	 */
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3_SetupHandlers.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -243,6 +243,7 @@
 block discarded – undo
243 243
 	 * Create some initial DB entries for important built-in properties. Having the DB contents predefined
244 244
 	 * allows us to safe DB calls when certain data is needed. At the same time, the entries in the DB
245 245
 	 * make sure that DB-based functions work as with all other properties.
246
+	 * @param boolean $verbose
246 247
 	 */
247 248
 	protected function setupPredefinedProperties( $verbose, DatabaseBase $db ) {
248 249
 		global $wgDBtype;
Please login to merge, or discard this patch.
DVDescriptionDeserializer/RecordValueDescriptionDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@
 block discarded – undo
93 93
 		}
94 94
 	}
95 95
 
96
+	/**
97
+	 * @param integer $propertyIndex
98
+	 */
96 99
 	private function getDescriptionForProperty( $diProperty, $values, &$valueIndex, $propertyIndex ) {
97 100
 
98 101
 		$values[$valueIndex] = str_replace( "-3B", ";", $values[$valueIndex] );
Please login to merge, or discard this patch.
DVDescriptionDeserializer/TimeValueDescriptionDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
 		return $description;
92 92
 	}
93 93
 
94
+	/**
95
+	 * @param \SMWDataItem $dataItem
96
+	 */
94 97
 	private function getUpperLimit( $dataItem ) {
95 98
 
96 99
 		$prec = $dataItem->getPrecision();
Please login to merge, or discard this patch.
src/Deserializers/ExpDataDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
 		return new ExpData( ExpElement::newFromSerialization( $subject ) );
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param ExpData $expData
55
+	 */
53 56
 	private function doDeserialize( $serialization, $expData ) {
54 57
 
55 58
 		foreach ( $serialization['data'] as $data ) {
Please login to merge, or discard this patch.
src/Deserializers/SemanticDataDeserializer.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@  discard block
 block discarded – undo
95 95
 	}
96 96
 
97 97
 	/**
98
+	 * @param DIProperty $property
98 99
 	 * @return DataItem
99 100
 	 */
100 101
 	private function doDeserializeDataItem( $property, $data, $value, $semanticData ) {
@@ -154,6 +155,7 @@  discard block
 block discarded – undo
154 155
 	 * otherwise the subobject is neglected (of course one could set an error
155 156
 	 * value to the DIContainer but as of now that seems unnecessary)
156 157
 	 *
158
+	 * @param SMWContainerSemanticData $semanticData
157 159
 	 * @return DIContainer|null
158 160
 	 */
159 161
 	private function unserializeSubobject( $data, $id, $semanticData ) {
Please login to merge, or discard this patch.
src/Exporter/DataItemToElementEncoder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	 * @since 2.2
31 31
 	 *
32 32
 	 * @param integer $dataItemType
33
-	 * @param Closure $dataItemEncoder
33
+	 * @param \Closure $dataItemEncoder
34 34
 	 */
35 35
 	public function registerDataItemEncoder( $dataItemType, \Closure $dataItemEncoder ) {
36 36
 		$this->dataItemEncoderMap[$dataItemType] = $dataItemEncoder;
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
 		throw new RuntimeException( 'Encoder did not return a valid element' );
62 62
 	}
63 63
 
64
+	/**
65
+	 * @param DataItem $dataItem
66
+	 */
64 67
 	private function tryToEncodeDataItem( $dataItem ) {
65 68
 
66 69
 		foreach ( $this->dataItemEncoderMap as $dataItemType => $dataItemEncoder ) {
Please login to merge, or discard this patch.