diff --git a/SalesGraphQlAux/Model/Resolver/SearchTerm.php b/SalesGraphQlAux/Model/Resolver/SearchTerm.php index 32b87fb..4c8380f 100644 --- a/SalesGraphQlAux/Model/Resolver/SearchTerm.php +++ b/SalesGraphQlAux/Model/Resolver/SearchTerm.php @@ -7,8 +7,6 @@ namespace Magento\SalesGraphQlAux\Model\Resolver; -use Magento\Framework\App\Config\ScopeConfigInterface; -use Magento\Framework\Exception\LocalizedException; use Magento\Framework\GraphQl\Config\Element\Field; use Magento\Framework\GraphQl\Query\ResolverInterface; use Magento\Framework\GraphQl\Schema\Type\ResolveInfo; @@ -16,8 +14,12 @@ class SearchTerm implements ResolverInterface { - protected $query; - public function __construct($subject, $result, \Magento\Search\Model\Query $query) + /** + * @var Query + */ + protected $query; + + public function __construct(Query $query) { $this->query = $query; }