Merge pull request #450 from antistatique/master
[doc] repository methode has to return the query
This commit is contained in:
commit
1f9c111193
|
@ -526,7 +526,7 @@ class UserRepository extends Repository
|
||||||
public function findWithCustomQuery($searchText)
|
public function findWithCustomQuery($searchText)
|
||||||
{
|
{
|
||||||
// build $query with Elastica objects
|
// build $query with Elastica objects
|
||||||
$this->find($query);
|
return $this->find($query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue