diff --git a/src/Engine/Elasticsearch/ElasticsearchSelectionFactory.php b/src/Engine/Elasticsearch/ElasticsearchSelectionFactory.php
index <HASH>..<HASH> 100644
--- a/src/Engine/Elasticsearch/ElasticsearchSelectionFactory.php
+++ b/src/Engine/Elasticsearch/ElasticsearchSelectionFactory.php
@@ -14,7 +14,7 @@ class ElasticsearchSelectionFactory implements SelectionFactoryInterface
      */
     private $identity;
 
-    public function __construct(IdentityInterface $identity)
+    public function __construct(ElasticsearchIdentity $identity)
     {
         $this->identity = $identity;
     }
<I> - Injected Elasticsearch identity class instead of Identity interface.