@@ -110,7 +110,6 @@ discard block |
||
110 | 110 | * @since 2.3 |
111 | 111 | * |
112 | 112 | * @param DIWikiPage $subject |
113 | - * @param RequestOptions $requestOptions = null |
|
114 | 113 | * |
115 | 114 | * @return array |
116 | 115 | */ |
@@ -272,7 +271,6 @@ discard block |
||
272 | 271 | * |
273 | 272 | * @since 2.3 |
274 | 273 | * |
275 | - * @param DIWikiPage|null $subject |
|
276 | 274 | * @param DIProperty $property |
277 | 275 | * @param RequestOptions $requestOptions = null |
278 | 276 | * |
@@ -419,6 +417,10 @@ discard block |
||
419 | 417 | ) . $suffix ); |
420 | 418 | } |
421 | 419 | |
420 | + /** |
|
421 | + * @param string $id |
|
422 | + * @param DIWikiPage $subject |
|
423 | + */ |
|
422 | 424 | private function appendToList( $id, $subject ) { |
423 | 425 | |
424 | 426 | // Store the id with the main subject |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * |
40 | 40 | * @param Store $store |
41 | 41 | * @param string $defaultPropertyType |
42 | - * @param RequestOptions $requestOptions|null |
|
42 | + * @param RequestOptions $requestOptions |
|
43 | 43 | */ |
44 | 44 | public function __construct( Store $store, $defaultPropertyType, RequestOptions $requestOptions = null ) { |
45 | 45 | $this->store = $store; |
@@ -152,6 +152,9 @@ discard block |
||
152 | 152 | return $property; |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $type |
|
157 | + */ |
|
155 | 158 | private function getPropertyTableForType( $type ) { |
156 | 159 | |
157 | 160 | $propertyTables = $this->store->getPropertyTables(); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * |
41 | 41 | * @param Store $store |
42 | 42 | * @param PropertyStatisticsStore $propertyStatisticsStore |
43 | - * @param RequestOptions $requestOptions|null |
|
43 | + * @param RequestOptions $requestOptions |
|
44 | 44 | */ |
45 | 45 | public function __construct( Store $store, PropertyStatisticsStore $propertyStatisticsStore, RequestOptions $requestOptions = null ) { |
46 | 46 | $this->store = $store; |
@@ -207,7 +207,7 @@ |
||
207 | 207 | * |
208 | 208 | * @since 1.9 |
209 | 209 | * |
210 | - * @param array $propertyIds |
|
210 | + * @param integer[] $propertyIds |
|
211 | 211 | * |
212 | 212 | * @return array |
213 | 213 | */ |
@@ -34,7 +34,7 @@ |
||
34 | 34 | /** |
35 | 35 | * @since 1.9 |
36 | 36 | * |
37 | - * @param array $diType |
|
37 | + * @param array $diTypes |
|
38 | 38 | * @param array $specialProperties |
39 | 39 | * @param array $userDefinedFixedProperties |
40 | 40 | */ |
@@ -161,6 +161,9 @@ discard block |
||
161 | 161 | return $this->compositePropertyTableDiffIterator; |
162 | 162 | } |
163 | 163 | |
164 | + /** |
|
165 | + * @param integer $sid |
|
166 | + */ |
|
164 | 167 | private function fetchPropertyTableHashesForId( $sid ) { |
165 | 168 | return $this->store->getObjectIds()->getPropertyTableHashes( $sid ); |
166 | 169 | } |
@@ -188,7 +191,6 @@ discard block |
||
188 | 191 | * |
189 | 192 | * @since 1.8 |
190 | 193 | * @param integer $sid |
191 | - * @param TableDefinition $tableDeclaration |
|
192 | 194 | * @return array |
193 | 195 | */ |
194 | 196 | private function fetchCurrentContentsForPropertyTable( $sid, TableDefinition $propertyTable ) { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * @param Description $description |
46 | 46 | * |
47 | - * @return QuerySegment |
|
47 | + * @return \SMW\SQLStore\QueryEngine\QuerySegment |
|
48 | 48 | * @throws InvalidArgumentException |
49 | 49 | */ |
50 | 50 | public function interpretDescription( Description $description ) { |
@@ -63,7 +63,6 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * @since 2.2 |
65 | 65 | * |
66 | - * @param DescriptionInterpreter $defaultInterpreter |
|
67 | 66 | */ |
68 | 67 | public function addInterpreter( DescriptionInterpreter $interpreter ) { |
69 | 68 | $this->interpreters[] = $interpreter; |
@@ -197,7 +197,7 @@ |
||
197 | 197 | * ValueDescription objects, create and return a plain WHERE condition |
198 | 198 | * string for it. |
199 | 199 | * |
200 | - * @param $query |
|
200 | + * @param QuerySegment $query |
|
201 | 201 | * @param Description $description |
202 | 202 | * @param SMWSQLStore3Table $proptable |
203 | 203 | * @param DataItemHandler $diHandler for that table |
@@ -177,7 +177,7 @@ |
||
177 | 177 | /** |
178 | 178 | * @since 2.2 |
179 | 179 | * |
180 | - * @return array |
|
180 | + * @return string[] |
|
181 | 181 | */ |
182 | 182 | public function getErrors() { |
183 | 183 | return $this->errors; |