@@ -15,7 +15,6 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * Search constructor. |
| 17 | 17 | * |
| 18 | - * @param string $query the search query |
|
| 19 | 18 | */ |
| 20 | 19 | public function __construct() |
| 21 | 20 | { |
@@ -211,6 +210,11 @@ discard block |
||
| 211 | 210 | $searchForm->addTagClose('div'); |
| 212 | 211 | } |
| 213 | 212 | |
| 213 | + /** |
|
| 214 | + * @param string $label |
|
| 215 | + * @param false|string $after |
|
| 216 | + * @param boolean $before |
|
| 217 | + */ |
|
| 214 | 218 | protected function addSearchLink( |
| 215 | 219 | Form $searchForm, |
| 216 | 220 | $label, |
@@ -549,7 +553,7 @@ discard block |
||
| 549 | 553 | * |
| 550 | 554 | * @param bool|string $ns the namespace to which to restrict the query |
| 551 | 555 | * |
| 552 | - * @return bool|string |
|
| 556 | + * @return false|string |
|
| 553 | 557 | */ |
| 554 | 558 | protected function restrictQueryToNSLink($ns) |
| 555 | 559 | { |