Browse Source

Remove $config type in SearchBuilder constructor

master
dimti 5 years ago
parent
commit
c5f45e1585
  1. 3
      src/SearchBuilder.php

3
src/SearchBuilder.php

@ -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;
} }

Loading…
Cancel
Save