diff --git a/src/Driver/FindDriver.php b/src/Driver/FindDriver.php index 31aff5e..6664d02 100644 --- a/src/Driver/FindDriver.php +++ b/src/Driver/FindDriver.php @@ -12,7 +12,7 @@ namespace Hyperf\Watcher\Driver; use Hyperf\Engine\Channel; -use Hyperf\Utils\Str; +use Hyperf\Stringable\Str; use Hyperf\Watcher\Option; use InvalidArgumentException; diff --git a/src/Driver/FindNewerDriver.php b/src/Driver/FindNewerDriver.php index fcbe041..ab0a6a6 100644 --- a/src/Driver/FindNewerDriver.php +++ b/src/Driver/FindNewerDriver.php @@ -12,7 +12,7 @@ namespace Hyperf\Watcher\Driver; use Hyperf\Engine\Channel; -use Hyperf\Utils\Str; +use Hyperf\Stringable\Str; use Hyperf\Watcher\Option; use InvalidArgumentException; diff --git a/src/Driver/FswatchDriver.php b/src/Driver/FswatchDriver.php index ab449c8..3db7ee6 100644 --- a/src/Driver/FswatchDriver.php +++ b/src/Driver/FswatchDriver.php @@ -13,7 +13,7 @@ use Hyperf\Engine\Channel; use Hyperf\Engine\Coroutine; -use Hyperf\Utils\Str; +use Hyperf\Stringable\Str; use Hyperf\Watcher\Option; use InvalidArgumentException; use RuntimeException; diff --git a/src/Driver/ScanFileDriver.php b/src/Driver/ScanFileDriver.php index 95a52ef..414ad88 100644 --- a/src/Driver/ScanFileDriver.php +++ b/src/Driver/ScanFileDriver.php @@ -13,8 +13,8 @@ use Hyperf\Contract\StdoutLoggerInterface; use Hyperf\Engine\Channel; +use Hyperf\Stringable\Str; use Hyperf\Utils\Filesystem\Filesystem; -use Hyperf\Utils\Str; use Hyperf\Watcher\Option; use Symfony\Component\Finder\SplFileInfo;