Completed
Push — master ( 30add5...f043e7 )
by mw
14s
created
includes/SMW_Infolink.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 	 *
77 77
 	 * @param string $caption The label for the link.
78 78
 	 * @param string $target The actual link target.
79
-	 * @param mixed $style CSS class of a span to embedd the link into, or false if no extra style is required.
79
+	 * @param string|false $style CSS class of a span to embedd the link into, or false if no extra style is required.
80 80
 	 * @param array $params Array of parameters, format $name => $value, if any.
81 81
 	 *
82 82
 	 * @return SMWInfolink
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
 	 *
126 126
 	 * @param string $caption The label for the link.
127 127
 	 * @param string $subject
128
-	 * @param string $propertyName
129
-	 * @param mixed $style CSS class of a span to embed the link into, or false if no extra style is required.
128
+	 * @param string $propertyname
129
+	 * @param string $style CSS class of a span to embed the link into, or false if no extra style is required.
130 130
 	 *
131 131
 	 * @return SMWInfolink
132 132
 	 */
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	 *
146 146
 	 * @param string $caption The label for the link.
147 147
 	 * @param string $titleText
148
-	 * @param mixed $style CSS class of a span to embedd the link into, or false if no extra style is required.
148
+	 * @param string $style CSS class of a span to embedd the link into, or false if no extra style is required.
149 149
 	 *
150 150
 	 * @return SMWInfolink
151 151
 	 */
@@ -188,6 +188,7 @@  discard block
 block discarded – undo
188 188
 
189 189
 	/**
190 190
 	 * Change the link text.
191
+	 * @param string|false $caption
191 192
 	 */
192 193
 	public function setCaption( $caption ) {
193 194
 		$this->mCaption = $caption;
@@ -195,6 +196,7 @@  discard block
 block discarded – undo
195 196
 
196 197
 	/**
197 198
 	 * Change the link's CSS class.
199
+	 * @param string $style
198 200
 	 */
199 201
 	public function setStyle( $style ) {
200 202
 		$this->mStyle = $style;
Please login to merge, or discard this patch.
includes/specials/SMW_SpecialAsk.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -750,6 +750,7 @@
 block discarded – undo
750 750
 
751 751
 	/**
752 752
 	 * FIXME MW 1.25
753
+	 * @param string $key
753 754
 	 */
754 755
 	private function addExternalHelpLinkFor( $key ) {
755 756
 
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
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
 	 */
69 69
 	protected $m_fixNamespace = NS_MAIN;
70 70
 
71
+	/**
72
+	 * @param string $typeid
73
+	 */
71 74
 	public function __construct( $typeid ) {
72 75
 		parent::__construct( $typeid );
73 76
 		switch ( $typeid ) {
@@ -611,6 +614,9 @@  discard block
 block discarded – undo
611 614
 		return $dvWikiPage;
612 615
 	}
613 616
 
617
+	/**
618
+	 * @param SMWDataItem $subject
619
+	 */
614 620
 	private function findDisplayTitleFor( $subject ) {
615 621
 
616 622
 		$displayTitle = '';
Please login to merge, or discard this patch.
tests/phpunit/TestEnvironment.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\SQLStoreFactory;
6
-use SMW\Store;
7 6
 use SMWSQLStore3;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
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 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\SQLStoreFactory;
6
-use SMW\Store;
7 6
 use SMWSQLStore3;
8 7
 
9 8
 /**
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.