Skip to content

Commit 9a0427e

Browse files
committed
Fix missing options
1 parent e593600 commit 9a0427e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Builder.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,13 @@ public function first()
7777
*/
7878
public function get()
7979
{
80-
return $this->hunter()->performSearch($this->query, [
80+
// Search options
81+
$options = array_merge($this->options, [
8182
'size' => $this->limit,
8283
'types' => $this->model,
8384
]);
85+
86+
return $this->hunter()->performSearch($this->query, $options);
8487
}
8588

8689
/**

0 commit comments

Comments
 (0)