Skip to content

Commit 4fe7af0

Browse files
committed
MAGETWO-36282: Refactor MySql search indexer to use indexer interface
- MAGETWO-39532: Refactor Engine prepareData method - Fixed IndexerHandlerFactory
1 parent 8eaf9e9 commit 4fe7af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandlerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function create(array $data = [])
7575
$indexer = $this->_objectManager->create($this->handlers[$currentHandler], $data);
7676

7777
if (!$indexer instanceof IndexerInterface) {
78-
throw new \InvalidArgumentException($indexer . ' doesn\'t implement ' . IndexerInterface::class);
78+
throw new \InvalidArgumentException($indexer . ' doesn\'t implement \Magento\Framework\IndexerInterface');
7979
}
8080

8181
if ($indexer && !$indexer->isAvailable()) {

0 commit comments

Comments
 (0)