Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-09-04 16:25:13 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-09-04 16:25:13 +0300
commit1ae93001b8745a3031c691391ad00e098d002356 (patch)
treeafe06e53a6642d603ab6db1bc8dd9035740bfda2 /lib
parent721496507bd34d8ee1ba96fd7133c0f19d8e41c9 (diff)
request can be send on construct()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Model/SearchResult.php3
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;
}