Completed
Push — master ( 2472c5...a814e8 )
by mw
35:03
created
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.
Integration/MediaWiki/Hooks/InternalParseBeforeLinksIntegrationTest.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\PropertyTableOutdatedReferenceDisposer;
6
-use Title;
7 6
 
8 7
 /**
9 8
  * @covers \SMW\SQLStore\PropertyTableOutdatedReferenceDisposer
Please login to merge, or discard this patch.
phpunit/Integration/MediaWiki/Hooks/ParserAfterTidyIntegrationTest.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\PropertyTableOutdatedReferenceDisposer;
6
-use Title;
7 6
 
8 7
 /**
9 8
  * @covers \SMW\SQLStore\PropertyTableOutdatedReferenceDisposer
Please login to merge, or discard this patch.
tests/phpunit/Unit/Factbox/FactboxTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use SMW\Factbox\Factbox;
11 11
 use SMW\ParserData;
12 12
 use SMW\SemanticData;
13
-use SMW\TableFormatter;
14 13
 use SMW\Tests\Utils\Mock\CoreMockObjectRepository;
15 14
 use SMW\Tests\Utils\Mock\MediaWikiMockObjectRepository;
16 15
 use SMW\Tests\Utils\Mock\MockObjectBuilder;
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Hooks/ArticlePurgeTest.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\MediaWiki\Hooks;
4 4
 
5 5
 use SMW\ApplicationFactory;
6
-use SMW\Factbox\FactboxCache;
7 6
 
8 7
 /**
9 8
  * TitleMoveComplete occurs whenever a request to move an article
Please login to merge, or discard this patch.