diff --git a/Repository.php b/Repository.php index 3e702be..75e30cd 100644 --- a/Repository.php +++ b/Repository.php @@ -2,6 +2,8 @@ namespace FOQ\ElasticaBundle; +use FOQ\ElasticaBundle\Finder\PaginatedFinderInterface; + /** * @author Richard Miller * @@ -12,7 +14,7 @@ class Repository { protected $finder; - public function __construct($finder) + public function __construct(PaginatedFinderInterface $finder) { $this->finder = $finder; }