Formatting changes and updating class references from strings to use php ::class const

This commit is contained in:
Tom Lingham
2015-12-23 11:24:22 +00:00
parent 70d102f8bf
commit 28b0e04bb2
5 changed files with 33 additions and 16 deletions

View File

@ -8,8 +8,8 @@ class SimpleSearchDriver extends BaseSearchDriver
* @var array
*/
protected $matchers = [
'TomLingham\Searchy\Matchers\ExactMatcher' => 100,
'TomLingham\Searchy\Matchers\StartOfStringMatcher' => 50,
'TomLingham\Searchy\Matchers\InStringMatcher' => 30,
\TomLingham\Searchy\Matchers\ExactMatcher::class => 100,
\TomLingham\Searchy\Matchers\StartOfStringMatcher::class => 50,
\TomLingham\Searchy\Matchers\InStringMatcher::class => 30,
];
}