@@ -119,6 +119,9 @@ |
||
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; |
@@ -3,7 +3,6 @@ |
||
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 | /** |
@@ -93,7 +93,7 @@ discard block |
||
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 |
||
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; |
@@ -184,7 +184,7 @@ discard block |
||
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 |
||
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 |
@@ -3,7 +3,6 @@ |
||
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 |
@@ -3,7 +3,6 @@ |
||
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 |
@@ -10,7 +10,6 @@ |
||
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; |
@@ -3,7 +3,6 @@ |
||
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 |
@@ -3,7 +3,6 @@ |
||
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 | /** |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | /** |
113 | 113 | * @since 2.1 |
114 | 114 | * |
115 | - * @param array $expected |
|
115 | + * @param DIProperty[] $expected |
|
116 | 116 | * @param array $properties |
117 | 117 | */ |
118 | 118 | public function assertHasProperties( array $expected, array $properties ) { |
@@ -344,6 +344,10 @@ discard block |
||
344 | 344 | ); |
345 | 345 | } |
346 | 346 | |
347 | + /** |
|
348 | + * @param \SMWDataValue $dataValue |
|
349 | + * @param string $defaultFormatter |
|
350 | + */ |
|
347 | 351 | private function assertContainsPropertyValues( &$expected, $dataValue, $defaultFormatter, $formatterParameters = array() ) { |
348 | 352 | |
349 | 353 | if ( !isset( $expected['propertyValues'] ) ) { |