@@ -18,7 +18,6 @@ |
||
18 | 18 | /** |
19 | 19 | * @since 2.5 |
20 | 20 | * |
21 | - * @param Query|null $query |
|
22 | 21 | * |
23 | 22 | * @return string |
24 | 23 | */ |
@@ -123,6 +123,10 @@ |
||
123 | 123 | return $query; |
124 | 124 | } |
125 | 125 | |
126 | + /** |
|
127 | + * @param Description $description |
|
128 | + * @param QuerySegment $query |
|
129 | + */ |
|
126 | 130 | private function addFulltextSearchCondition( $description, $query, $comparator, &$value ) { |
127 | 131 | |
128 | 132 | // Uses ~~ wide proximity? |
@@ -130,7 +130,6 @@ |
||
130 | 130 | /** |
131 | 131 | * @since 2.5 |
132 | 132 | * |
133 | - * @param DIProperty $property |
|
134 | 133 | * |
135 | 134 | * @return boolean |
136 | 135 | */ |
@@ -157,6 +157,8 @@ |
||
157 | 157 | /** |
158 | 158 | * @since 1.6 |
159 | 159 | * |
160 | + * @param integer $maxsize |
|
161 | + * @param integer $maxdepth |
|
160 | 162 | * @return SomeProperty |
161 | 163 | */ |
162 | 164 | public function prune( &$maxsize, &$maxdepth, &$log ) { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | * @since 1.6 |
53 | 53 | * |
54 | 54 | * @param ExpNsResource $expNsResource string URI to check |
55 | - * @param boolean $existsthat is set to true if $expNsResource is in the |
|
55 | + * @param boolean|null $exists is set to true if $expNsResource is in the |
|
56 | 56 | * store; always false for blank nodes; always true for subobjects |
57 | 57 | * |
58 | 58 | * @return ExpNsResource |
@@ -243,6 +243,9 @@ |
||
243 | 243 | $this->assertFalse( $exists ); |
244 | 244 | } |
245 | 245 | |
246 | + /** |
|
247 | + * @return \SMW\SPARQLStore\RepositoryConnection |
|
248 | + */ |
|
246 | 249 | private function createRepositoryConnectionMockToUse( $listReturnValue ) { |
247 | 250 | |
248 | 251 | $repositoryResult = $this->getMockBuilder( '\SMW\SPARQLStore\QueryEngine\RepositoryResult' ) |
@@ -198,12 +198,15 @@ discard block |
||
198 | 198 | return $this->reader; |
199 | 199 | } |
200 | 200 | |
201 | + /** |
|
202 | + * @return SemanticData |
|
203 | + */ |
|
201 | 204 | public function getSemanticData( DIWikiPage $subject, $filter = false ) { |
202 | 205 | return $this->getEntityLookup()->getSemanticData( $subject, $filter ); |
203 | 206 | } |
204 | 207 | |
205 | 208 | /** |
206 | - * @param mixed $subject |
|
209 | + * @param DIWikiPage $subject |
|
207 | 210 | * @param DIProperty $property |
208 | 211 | * @param null $requestOptions |
209 | 212 | * |
@@ -334,7 +337,7 @@ discard block |
||
334 | 337 | /** |
335 | 338 | * @param RequestOptions|null $requestOptions |
336 | 339 | * |
337 | - * @return CachedListLookup |
|
340 | + * @return SMW\SQLStore\Lookup\CachedListLookup |
|
338 | 341 | */ |
339 | 342 | public function getPropertiesSpecial( $requestOptions = null ) { |
340 | 343 | return $this->factory->newPropertyUsageCachedListLookup( $requestOptions ); |
@@ -343,7 +346,7 @@ discard block |
||
343 | 346 | /** |
344 | 347 | * @param RequestOptions|null $requestOptions |
345 | 348 | * |
346 | - * @return CachedListLookup |
|
349 | + * @return SMW\SQLStore\Lookup\CachedListLookup |
|
347 | 350 | */ |
348 | 351 | public function getUnusedPropertiesSpecial( $requestOptions = null ) { |
349 | 352 | return $this->factory->newUnusedPropertyCachedListLookup( $requestOptions ); |
@@ -352,7 +355,7 @@ discard block |
||
352 | 355 | /** |
353 | 356 | * @param RequestOptions|null $requestOptions |
354 | 357 | * |
355 | - * @return CachedListLookup |
|
358 | + * @return SMW\SQLStore\Lookup\CachedListLookup |
|
356 | 359 | */ |
357 | 360 | public function getWantedPropertiesSpecial( $requestOptions = null ) { |
358 | 361 | return $this->factory->newUndeclaredPropertyCachedListLookup( $requestOptions ); |
@@ -445,7 +448,7 @@ discard block |
||
445 | 448 | * @since 1.8 |
446 | 449 | * |
447 | 450 | * @param SMWRequestOptions|null $requestOptions |
448 | - * @param string $valuecol |
|
451 | + * @param string $valueCol |
|
449 | 452 | * |
450 | 453 | * @return array |
451 | 454 | */ |
@@ -118,6 +118,10 @@ |
||
118 | 118 | return $description; |
119 | 119 | } |
120 | 120 | |
121 | + /** |
|
122 | + * @param DIWikiPage $concept |
|
123 | + * @param Description $description |
|
124 | + */ |
|
121 | 125 | private function findCircularDescription( $concept, $description ) { |
122 | 126 | |
123 | 127 | if ( $description instanceof ConceptDescription ) { |
@@ -158,6 +158,9 @@ |
||
158 | 158 | ); |
159 | 159 | } |
160 | 160 | |
161 | + /** |
|
162 | + * @param Description $description |
|
163 | + */ |
|
161 | 164 | private function findCircularDescription( $concept, &$description ) { |
162 | 165 | |
163 | 166 | if ( $description instanceof ConceptDescription ) { |