@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * @codeCoverageIgnore |
| 67 | 67 | * @see ApiBase::getDescription |
| 68 | 68 | * |
| 69 | - * @return array |
|
| 69 | + * @return string[] |
|
| 70 | 70 | */ |
| 71 | 71 | public function getDescription() { |
| 72 | 72 | return [ |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * @codeCoverageIgnore |
| 79 | 79 | * @see ApiBase::getExamples |
| 80 | 80 | * |
| 81 | - * @return array |
|
| 81 | + * @return string[] |
|
| 82 | 82 | */ |
| 83 | 83 | protected function getExamples() { |
| 84 | 84 | return [ |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * |
| 133 | 133 | * @param string $param |
| 134 | 134 | * |
| 135 | - * @return array |
|
| 135 | + * @return string[] |
|
| 136 | 136 | */ |
| 137 | 137 | protected static function getSubParams( $param ) { |
| 138 | 138 | $sub_params = []; |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | * @param $context |
| 169 | 169 | * @param $showmode |
| 170 | 170 | * |
| 171 | - * @return SMWQueryResult |
|
| 171 | + * @return \SMWQueryResult |
|
| 172 | 172 | */ |
| 173 | 173 | protected static function getQueryResultFromFunctionParams( $rawParams, $context = QueryProcessor::INLINE_QUERY, $showMode = false ) { |
| 174 | 174 | list( $querystring, $params, $printouts ) = self::getComponentsFromFunctionParams( $rawParams, $showMode ); |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | * Combine two arrays of SMWWikiPageValue objects into one |
| 181 | 181 | * |
| 182 | 182 | * @param array $result1 |
| 183 | - * @param array $result2 |
|
| 183 | + * @param \SMWDIWikiPage[] $result2 |
|
| 184 | 184 | * |
| 185 | 185 | * @return array |
| 186 | 186 | */ |
@@ -204,6 +204,9 @@ discard block |
||
| 204 | 204 | return $result1; |
| 205 | 205 | } |
| 206 | 206 | |
| 207 | + /** |
|
| 208 | + * @param \SMW\Query\PrintRequest[] $printRequests2 |
|
| 209 | + */ |
|
| 207 | 210 | protected static function mergeSMWPrintRequests( $printRequests1, $printRequests2 ) { |
| 208 | 211 | $existingPrintoutLabels = []; |
| 209 | 212 | foreach ( $printRequests1 as $p1 ) { |
@@ -226,7 +229,7 @@ discard block |
||
| 226 | 229 | * @param $outputMode |
| 227 | 230 | * @param $context |
| 228 | 231 | * |
| 229 | - * @return SMWQueryResult |
|
| 232 | + * @return \SMWQueryResult |
|
| 230 | 233 | */ |
| 231 | 234 | protected static function getQueryResultFromQueryString( $querystring, array $params, $extraPrintouts, $context = QueryProcessor::INLINE_QUERY ) { |
| 232 | 235 | |
@@ -262,7 +265,7 @@ discard block |
||
| 262 | 265 | * |
| 263 | 266 | * @param CompoundQueryResult $res |
| 264 | 267 | * @param array $params These need to be the result of a list fed to getProcessedParams as of SMW 1.6.2 |
| 265 | - * @param $outputmode |
|
| 268 | + * @param integer $outputmode |
|
| 266 | 269 | * @param $context |
| 267 | 270 | * @param string $format |
| 268 | 271 | * |