Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -168,9 +168,9 @@ |
169 | 169 | * @param SMWQueryResult $res |
170 | 170 | * @param $outputmode |
171 | 171 | * |
172 | | - * @return array |
| 172 | + * @return array or string |
173 | 173 | */ |
174 | | - public final function getResultText( /* SMWQueryResult */ $res, $outputmode ) { |
| 174 | + public final function getResultText( SMWQueryResult $res, $outputmode ) { |
175 | 175 | if ( $this->fatalErrorMsg === false ) { |
176 | 176 | global $wgParser; |
177 | 177 | |
— | — | @@ -325,7 +325,7 @@ |
326 | 326 | * |
327 | 327 | * @return array |
328 | 328 | */ |
329 | | - public final function getResult( /* SMWQueryResult */ $results, /* array */ $params, $outputmode ) { |
| 329 | + public final function getResult( SMWQueryResult $results, array $params, $outputmode ) { |
330 | 330 | // Skip checks, results with 0 entries are normal. |
331 | 331 | $this->readParameters( $params, $outputmode ); |
332 | 332 | |
Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_KMLPrinter.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | * |
35 | 35 | * @return array |
36 | 36 | */ |
37 | | - public function getResultText( /* SMWQueryResult */ $res, $outputmode ) { |
| 37 | + public function getResultText( SMWQueryResult $res, $outputmode ) { |
38 | 38 | if ( $outputmode == SMW_OUTPUT_FILE ) { |
39 | 39 | return $this->getKML( $res, $outputmode ); |
40 | 40 | } |