Skip to content

Commit 7e7b558

Browse files
Instead of classes and functions of Hyperf\Utils (#5674)
Co-authored-by: 李铭昕 <715557344@qq.com>
1 parent 9c8b327 commit 7e7b558

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"hyperf/collection": "~3.0.0",
2323
"hyperf/contract": "~3.0.0",
2424
"hyperf/command": "~3.0.0",
25+
"hyperf/support": "~3.0.0",
2526
"hyperf/utils": "~3.0.0"
2627
},
2728
"suggest": {

src/Aspect/AsyncQueueAspect.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
use Hyperf\Di\Aop\ProceedingJoinPoint;
2020
use Psr\Container\ContainerInterface;
2121

22+
use function Hyperf\Support\make;
23+
2224
class AsyncQueueAspect extends AbstractAspect
2325
{
2426
public array $annotations = [

src/Driver/DriverFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
use Hyperf\Contract\ConfigInterface;
1616
use Psr\Container\ContainerInterface;
1717

18+
use function Hyperf\Support\make;
19+
1820
class DriverFactory
1921
{
2022
/**

src/Driver/RedisDriver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
use Hyperf\Redis\RedisProxy;
2121
use Psr\Container\ContainerInterface;
2222

23+
use function Hyperf\Support\make;
24+
2325
class RedisDriver extends Driver
2426
{
2527
protected RedisProxy $redis;

0 commit comments

Comments
 (0)