diff --git a/src/ORM/Search/SearchContext.php b/src/ORM/Search/SearchContext.php index 456868099..76e75d3ee 100644 --- a/src/ORM/Search/SearchContext.php +++ b/src/ORM/Search/SearchContext.php @@ -318,7 +318,10 @@ class SearchContext } /** - * @param $searchParams + * Set search param values + * + * @param array|HTTPRequest $searchParams + * @return $this */ public function setSearchParams($searchParams) { @@ -328,6 +331,7 @@ class SearchContext } else { $this->searchParams = $searchParams; } + return $this; } /**