File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
app/code/Magento/CatalogGraphQl/Model/Search/Adapter/Mysql/Query/Builder Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,6 @@ class Match extends BuilderMatch
24
24
*/
25
25
private $ searchHelper ;
26
26
27
- /**
28
- * @var string[]
29
- */
30
- private $ replaceSymbols = [];
31
-
32
27
/**
33
28
* @param ResolverInterface $resolver
34
29
* @param Fulltext $fulltextHelper
@@ -52,8 +47,8 @@ public function __construct(
52
47
*/
53
48
protected function prepareQuery ($ queryValue , $ conditionType )
54
49
{
55
- $ this -> replaceSymbols = str_split (self ::SPECIAL_CHARACTERS , 1 );
56
- $ queryValue = str_replace ($ this -> replaceSymbols , ' ' , $ queryValue );
50
+ $ replaceSymbols = str_split (self ::SPECIAL_CHARACTERS , 1 );
51
+ $ queryValue = str_replace ($ replaceSymbols , ' ' , $ queryValue );
57
52
foreach ($ this ->preprocessors as $ preprocessor ) {
58
53
$ queryValue = $ preprocessor ->process ($ queryValue );
59
54
}
You can’t perform that action at this time.
0 commit comments