Completed
Push — master ( 30add5...f043e7 )
by mw
14s
created
src/SQLStore/QueryEngine/QueryEngine.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -279,6 +279,9 @@  discard block
 block discarded – undo
279 279
 		return DebugOutputFormatter::formatOutputFor( 'SQLStore', $entries, $query );
280 280
 	}
281 281
 
282
+	/**
283
+	 * @param QuerySegment $qobj
284
+	 */
282 285
 	private function doPrepareDebugQueryResult( $qobj, $sqlOptions, &$entries ) {
283 286
 
284 287
 		$db = $this->store->getConnection();
@@ -503,6 +506,9 @@  discard block
 block discarded – undo
503 506
 		}
504 507
 	}
505 508
 
509
+	/**
510
+	 * @param integer $qid
511
+	 */
506 512
 	private function applyExtraWhereCondition( $qid ) {
507 513
 
508 514
 		$db = $this->store->getConnection();
@@ -530,6 +536,9 @@  discard block
 block discarded – undo
530 536
 		$this->querySegmentList[$qid] = $qobj;
531 537
 	}
532 538
 
539
+	/**
540
+	 * @param QuerySegment $qobj
541
+	 */
533 542
 	private function collectedRequiredExtraPropertyDescriptions( $qobj ) {
534 543
 		$extraProperties = array();
535 544
 
@@ -555,6 +564,10 @@  discard block
 block discarded – undo
555 564
 		return $extraProperties;
556 565
 	}
557 566
 
567
+	/**
568
+	 * @param QuerySegment $qobj
569
+	 * @param integer $qid
570
+	 */
558 571
 	private function compileAccordingConditionsAndHackThemIntoQobj( array $extraProperties, $qobj, $qid ) {
559 572
 		$this->querySegmentListBuilder->setSortKeys( $this->sortKeys );
560 573
 		$this->querySegmentListBuilder->buildQuerySegmentFor( new Conjunction( $extraProperties ) );
Please login to merge, or discard this patch.
src/Query/ProfileAnnotator/NullProfileAnnotator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 *
42 42
 	 * @since 1.9
43 43
 	 *
44
-	 * @return array
44
+	 * @return DIProperty
45 45
 	 */
46 46
 	public function getProperty() {
47 47
 		return new DIProperty( '_ASK' );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @since 1.9
65 65
 	 *
66
-	 * @return SemanticData
66
+	 * @return \SMWSemanticData
67 67
 	 */
68 68
 	public function getSemanticData() {
69 69
 		return $this->container->getSemanticData();
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/QueryDependencyLinksStore.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -391,6 +391,9 @@  discard block
 block discarded – undo
391 391
 		return $id;
392 392
 	}
393 393
 
394
+	/**
395
+	 * @param DIWikiPage $subject
396
+	 */
394 397
 	private function canSuppressUpdateOnSkewFactorFor( $sid, $subject ) {
395 398
 
396 399
 		if ( $sid < 1 ) {
@@ -413,6 +416,9 @@  discard block
 block discarded – undo
413 416
 		return $row !== false && $skewedTouchedTimesamp > wfTimestamp( TS_MW );
414 417
 	}
415 418
 
419
+	/**
420
+	 * @param CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator
421
+	 */
416 422
 	private function removeBlacklistedPropertyReferencesFromParserCachePurgeJobChangeList( $compositePropertyTableDiffIterator, &$mapCombinedIdListOfChangedEntities, $table, $record ) {
417 423
 
418 424
 		// Remove matched blacklisted property reference
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/QueryResultDependencyListResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -134,6 +134,9 @@
 block discarded – undo
134 134
 		return $dependencySubjectList;
135 135
 	}
136 136
 
137
+	/**
138
+	 * @param DIWikiPage[] $subjects
139
+	 */
137 140
 	private function doResolveDependenciesFromDescription( &$subjects, $description ) {
138 141
 
139 142
 		if ( $description instanceof ValueDescription && $description->getDataItem() instanceof DIWikiPage ) {
Please login to merge, or discard this patch.
src/ApplicationFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	/**
203 203
 	 * @since 2.0
204 204
 	 *
205
-	 * @return Cache
205
+	 * @return string
206 206
 	 */
207 207
 	public function getCache() {
208 208
 		return $this->callbackLoader->singleton( 'Cache' );
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 	/**
308 308
 	 * @since 2.4
309 309
 	 *
310
-	 * @return MediaWikiNsContentReader
310
+	 * @return MediaWiki\MediaWikiNsContentReader
311 311
 	 */
312 312
 	public function getMediaWikiNsContentReader() {
313 313
 		return $this->callbackLoader->singleton( 'MediaWikiNsContentReader' );
Please login to merge, or discard this patch.
src/DataValues/AllowsPatternValue.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/ValueParsers/AllowsPatternContentParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
 		return $contentList[$userValue];
63 63
 	}
64 64
 
65
+	/**
66
+	 * @param string $contents
67
+	 */
65 68
 	private function doParseContent( $contents ) {
66 69
 
67 70
 		$list = array();
Please login to merge, or discard this patch.
src/Maintenance/DistinctEntityDataRebuilder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
 	/**
72 72
 	 * @since 2.1
73 73
 	 *
74
-	 * @param MessageReporter $reporter
75 74
 	 */
76 75
 	public function setOptions( Options $options ) {
77 76
 		$this->options = $options;
@@ -281,6 +280,10 @@  discard block
 block discarded – undo
281 280
 		}
282 281
 	}
283 282
 
283
+	/**
284
+	 * @param boolean $verbose
285
+	 * @param string $progress
286
+	 */
284 287
 	private function doPrintDotProgressIndicator( $verbose, $progress ) {
285 288
 
286 289
 		if ( ( $this->rebuildCount - 1 ) % 60 === 0 ) {
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3_Writers.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@  discard block
 block discarded – undo
89 89
 		\Hooks::run( 'SMW::SQLStore::AfterDeleteSubjectComplete', array( $this->store, $title ) );
90 90
 	}
91 91
 
92
+	/**
93
+	 * @param DIWikiPage $subject
94
+	 */
92 95
 	private function doDeleteFor( $id, $subject, $subobjects ) {
93 96
 
94 97
 		if ( $subject->getNamespace() === SMW_NS_CONCEPT ) { // make sure to clear caches
@@ -128,7 +131,6 @@  discard block
 block discarded – undo
128 131
 	 * @see SMWStore::doDataUpdate
129 132
 	 *
130 133
 	 * @since 1.8
131
-	 * @param SMWSemanticData $data
132 134
 	 */
133 135
 	public function doDataUpdate( SMWSemanticData $semanticData ) {
134 136
 		\Hooks::run( 'SMWSQLStore3::updateDataBefore', array( $this->store, $semanticData ) );
@@ -987,6 +989,9 @@  discard block
 block discarded – undo
987 989
 		return ( $new_tid == 0 ) ? $sid : $new_tid;
988 990
 	}
989 991
 
992
+	/**
993
+	 * @param integer $redirectId
994
+	 */
990 995
 	private function addToDeferredUpdate( $oldTitle, $newTitle, $redirectId ) {
991 996
 
992 997
 		$jobFactory = ApplicationFactory::getInstance()->newJobFactory();
Please login to merge, or discard this patch.