From 7e6eba175d0e96e63cafed54d9b90774ce8514e9 Mon Sep 17 00:00:00 2001 From: Sergey Shlyakhov Date: Wed, 9 Oct 2019 03:19:51 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Engines/ElasticSearchEngine.php | 1 - tests/laravel/app/Product.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Engines/ElasticSearchEngine.php b/src/Engines/ElasticSearchEngine.php index 559fe7be..96c067ba 100644 --- a/src/Engines/ElasticSearchEngine.php +++ b/src/Engines/ElasticSearchEngine.php @@ -8,7 +8,6 @@ use Laravel\Scout\Builder as BaseBuilder; use Illuminate\Database\Eloquent\Collection; use ONGR\ElasticsearchDSL\Query\MatchAllQuery; -use Matchish\ScoutElasticSearch\ElasticSearch\Index; use Matchish\ScoutElasticSearch\ElasticSearch\Params\Bulk; use Matchish\ScoutElasticSearch\ElasticSearch\SearchFactory; use Matchish\ScoutElasticSearch\ElasticSearch\SearchResults; diff --git a/tests/laravel/app/Product.php b/tests/laravel/app/Product.php index 435aa953..e815f9d6 100644 --- a/tests/laravel/app/Product.php +++ b/tests/laravel/app/Product.php @@ -28,7 +28,6 @@ public function getScoutKey() return $this->getAttribute($this->getScoutKeyName()); } - public function shouldBeSearchable() { return $this->type != 'archive';