mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 20:27:59 +08:00
Fixed default driver not found. (#1994)
This commit is contained in:
parent
9dc74e4525
commit
d014e6aed8
@ -43,6 +43,9 @@
|
||||
"cs-fix": "php-cs-fixer fix $1"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.0-dev"
|
||||
},
|
||||
"hyperf": {
|
||||
"config": "Hyperf\\Watcher\\ConfigProvider"
|
||||
}
|
||||
|
@ -12,13 +12,14 @@ declare(strict_types=1);
|
||||
namespace Hyperf\Watcher;
|
||||
|
||||
use Hyperf\Contract\ConfigInterface;
|
||||
use Hyperf\Watcher\Driver\FswatchDriver;
|
||||
|
||||
class Option
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $driver = 'fswatch';
|
||||
protected $driver = FswatchDriver::class;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
|
Loading…
Reference in New Issue
Block a user