diff options
Diffstat (limited to 'lib/Model/SearchResult.php')
-rw-r--r-- | lib/Model/SearchResult.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Model/SearchResult.php b/lib/Model/SearchResult.php index 580d5df..9b33a17 100644 --- a/lib/Model/SearchResult.php +++ b/lib/Model/SearchResult.php @@ -59,7 +59,8 @@ class SearchResult implements \JsonSerializable { private $request; - public function __construct() { + public function __construct(SearchRequest $searchRequest = null) { + $this->request = $searchRequest; } |