mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 12:47:55 +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"
|
"cs-fix": "php-cs-fixer fix $1"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.0-dev"
|
||||||
|
},
|
||||||
"hyperf": {
|
"hyperf": {
|
||||||
"config": "Hyperf\\Watcher\\ConfigProvider"
|
"config": "Hyperf\\Watcher\\ConfigProvider"
|
||||||
}
|
}
|
||||||
|
@ -12,13 +12,14 @@ declare(strict_types=1);
|
|||||||
namespace Hyperf\Watcher;
|
namespace Hyperf\Watcher;
|
||||||
|
|
||||||
use Hyperf\Contract\ConfigInterface;
|
use Hyperf\Contract\ConfigInterface;
|
||||||
|
use Hyperf\Watcher\Driver\FswatchDriver;
|
||||||
|
|
||||||
class Option
|
class Option
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $driver = 'fswatch';
|
protected $driver = FswatchDriver::class;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
Loading…
Reference in New Issue
Block a user