Skip to content

Commit 741fb62

Browse files
authored
Merge pull request #60 from Humpty-Dumpty/master
Remove irrelevant parameter from Query->get()
2 parents b4e1bb5 + a366efe commit 741fb62

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Query.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -788,15 +788,12 @@ public function clear($scroll_id = NULL)
788788

789789
/**
790790
* Get the collection of results
791-
* @param string $scroll_id
792791
* @return array|Collection
793792
*/
794-
public function get($scroll_id = NULL)
793+
public function get()
795794
{
796795

797-
$scroll_id = NULL;
798-
799-
$result = $this->getResult($scroll_id);
796+
$result = $this->getResult(NULL);
800797

801798
return $this->getAll($result);
802799
}

0 commit comments

Comments
 (0)