@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | |
| 369 | 369 | /** |
| 370 | 370 | * NOTE: this will break if applied to something that's not a SiteTree subclass. |
| 371 | - * @param DataList|PaginatedList $matches |
|
| 371 | + * @param SS_List $matches |
|
| 372 | 372 | * @param array $facet |
| 373 | 373 | * @param int $typeID |
| 374 | 374 | */ |
@@ -408,7 +408,7 @@ discard block |
||
| 408 | 408 | |
| 409 | 409 | /** |
| 410 | 410 | * Builds facets from all attributes present in the data set. |
| 411 | - * @param DataList|PaginatedList $matches |
|
| 411 | + * @param SS_List $matches |
|
| 412 | 412 | * @return array |
| 413 | 413 | */ |
| 414 | 414 | protected function buildAllAttributeFacets($matches) |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @param $typeID |
| 53 | - * @return callable |
|
| 53 | + * @return Closure |
|
| 54 | 54 | */ |
| 55 | 55 | protected function getValuesClosure($typeID) |
| 56 | 56 | { |
@@ -243,7 +243,7 @@ |
||
| 243 | 243 | } |
| 244 | 244 | |
| 245 | 245 | /** |
| 246 | - * @param $name |
|
| 246 | + * @param string $name |
|
| 247 | 247 | * @return string |
| 248 | 248 | */ |
| 249 | 249 | public function getVFIFieldName($name) |
@@ -267,7 +267,7 @@ |
||
| 267 | 267 | |
| 268 | 268 | /** |
| 269 | 269 | * @param string $str |
| 270 | - * @return SS_Query |
|
| 270 | + * @return SQLQuery |
|
| 271 | 271 | */ |
| 272 | 272 | public function getSuggestQuery($str='') |
| 273 | 273 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @param SS_HTTPRequest $req |
| 24 | - * @return string |
|
| 24 | + * @return SS_HTTPResponse |
|
| 25 | 25 | */ |
| 26 | 26 | public function search_suggest(SS_HTTPRequest $req) |
| 27 | 27 | { |