Skip to content

Commit 7c9be35

Browse files
committed
MC-18332: Remove MySQL Search Engine
- adding annotations
1 parent 4a66aac commit 7c9be35

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

app/code/Magento/AdvancedSearch/Model/Client/ClientResolver.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
*/
66
namespace Magento\AdvancedSearch\Model\Client;
77

8-
use \Magento\Framework\ObjectManagerInterface;
8+
use Magento\Framework\ObjectManagerInterface;
99
use Magento\Framework\Search\EngineResolverInterface;
10+
use Magento\Framework\App\Config\ScopeConfigInterface;
1011

1112
/**
1213
* @api
@@ -46,7 +47,7 @@ class ClientResolver
4647
private $clientOptionsPool;
4748

4849
/**
49-
* @var EngineResolver
50+
* @var EngineResolverInterface
5051
*/
5152
private $engineResolver;
5253

app/code/Magento/CatalogSearch/Model/Indexer/Scope/State.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
* The 'use_temporary_table' state is an opposite for 'use_main_table'
1919
* which means that default indexer table should be left unchanged during indexation
2020
* and temporary table should be used instead.
21+
*
22+
* @deprecated
23+
* @see \Magento\Elasticsearch
2124
*/
2225
class State
2326
{

app/code/Magento/CatalogSearch/Model/ResourceModel/EngineInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ interface EngineInterface
1515
{
1616
/**
1717
* @deprecated
18+
* @see \Magento\Framework\Search\EngineResolverInterface
1819
*/
1920
const FIELD_PREFIX = 'attr_';
2021

app/code/Magento/Elasticsearch/Model/ResourceModel/Engine.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function allowAdvancedIndex()
6161
}
6262

6363
/**
64-
* {@inheritdoc}
64+
* @inheritdoc
6565
*/
6666
public function processAttributeValue($attribute, $value)
6767
{
@@ -74,7 +74,7 @@ public function processAttributeValue($attribute, $value)
7474
*
7575
* @param array $index
7676
* @param string $separator
77-
* @return string
77+
* @return array
7878
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
7979
*/
8080
public function prepareEntityIndex($index, $separator = ' ')
@@ -83,7 +83,7 @@ public function prepareEntityIndex($index, $separator = ' ')
8383
}
8484

8585
/**
86-
* {@inheritdoc}
86+
* @inheritdoc
8787
*/
8888
public function isAvailable()
8989
{

0 commit comments

Comments
 (0)