[doc] repository methode has to return the query
This commit is contained in:
parent
ef872dd22d
commit
1c7da33526
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ class UserRepository extends Repository
|
|||
public function findWithCustomQuery($searchText)
|
||||
{
|
||||
// build $query with Elastica objects
|
||||
$this->find($query);
|
||||
return $this->find($query);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue