@@ -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'] ) ) { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use SMWExpLiteral as ExpLiteral; |
10 | 10 | use SMWExpNsResource as ExpNsResource; |
11 | 11 | use SMWExporter as Exporter; |
12 | -use SMWExpResource as ExpResource; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * @covers \SMW\SPARQLStore\RedirectLookup |
@@ -72,7 +72,7 @@ |
||
72 | 72 | * |
73 | 73 | * @since 1.9 |
74 | 74 | * |
75 | - * @return ObjectDictionary |
|
75 | + * @return Options |
|
76 | 76 | */ |
77 | 77 | protected function formatAskArgs() { |
78 | 78 |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param DIConcept $concept |
64 | 64 | * |
65 | - * @return ExpData|null |
|
65 | + * @return null|Element |
|
66 | 66 | */ |
67 | 67 | public function getElementFor( DIConcept $concept ) { |
68 | 68 | |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * |
118 | 118 | * @param string &$exact |
119 | 119 | * |
120 | - * @return Element|false |
|
120 | + * @return Element |
|
121 | 121 | */ |
122 | 122 | public function getExpDataFromDescription( Description $description, &$exact ) { |
123 | 123 |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * @since 2.2 |
54 | 54 | * |
55 | - * @return QueryEngine |
|
55 | + * @return QueryEngine\QueryEngine |
|
56 | 56 | */ |
57 | 57 | public function newMasterQueryEngine() { |
58 | 58 | return $this->queryEngineFactory->newQueryEngine(); |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * @since 2.2 |
63 | 63 | * |
64 | - * @return QueryEngine |
|
64 | + * @return QueryEngine\QueryEngine |
|
65 | 65 | */ |
66 | 66 | public function newSlaveQueryEngine() { |
67 | 67 | return $this->queryEngineFactory->newQueryEngine(); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * |
121 | 121 | * @param integer|string $mediaWikiCacheType |
122 | 122 | * |
123 | - * @return Cache |
|
123 | + * @return null|\Onoi\Cache\Cache |
|
124 | 124 | */ |
125 | 125 | public function newMediaWikiCompositeCache( $mediaWikiCacheType = null ) { |
126 | 126 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | * @param string|integer|null $cacheType |
144 | 144 | * @param integer $cacheLifetime |
145 | 145 | * |
146 | - * @return BlobStore |
|
146 | + * @return \Onoi\BlobStore\BlobStore |
|
147 | 147 | */ |
148 | 148 | public function newBlobStore( $namespace, $cacheType = null, $cacheLifetime = 0 ) { |
149 | 149 |