Remove $config type in SearchBuilder constructor

This commit is contained in:
2019-10-25 13:13:09 +03:00
parent 0003a8cf15
commit c5f45e1585

View File

@ -2,7 +2,6 @@
namespace TomLingham\Searchy; namespace TomLingham\Searchy;
use Illuminate\Config\Repository;
use TomLingham\Searchy\SearchDrivers\FuzzySearchDriver; use TomLingham\Searchy\SearchDrivers\FuzzySearchDriver;
/** /**
@ -30,7 +29,7 @@ class SearchBuilder
*/ */
private $config; private $config;
public function __construct(Repository $config) public function __construct($config)
{ {
$this->config = $config; $this->config = $config;
} }