[doc] repository methode has to return the query

This commit is contained in:
Simon Perdrisat 2014-01-28 11:34:54 +01:00
commit 1c7da33526

View file

@ -526,7 +526,7 @@ class UserRepository extends Repository
public function findWithCustomQuery($searchText)
{
// build $query with Elastica objects
$this->find($query);
return $this->find($query);
}
}
```