@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | } |
151 | 151 | |
152 | 152 | /** |
153 | - * @return Location[] |
|
153 | + * @return \Generator |
|
154 | 154 | */ |
155 | 155 | public function getLocations(): iterable { |
156 | 156 | while ( ( $row = $this->queryResult->getNext() ) !== false ) { |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | /** |
372 | 372 | * Get the icon for a row. |
373 | 373 | * |
374 | - * @param array $row |
|
374 | + * @param SMWResultArray[] $row |
|
375 | 375 | * |
376 | 376 | * @return string |
377 | 377 | */ |
@@ -461,6 +461,9 @@ discard block |
||
461 | 461 | ); |
462 | 462 | } |
463 | 463 | |
464 | + /** |
|
465 | + * @return string |
|
466 | + */ |
|
464 | 467 | private function getTitleOutput( string $titleText ) { |
465 | 468 | $title = Title::newFromText( $titleText ); |
466 | 469 |