Skip to content

Commit faebc78

Browse files
authored
Use Hyperf\Coroutine\Channel\Pool instead of Hyperf\Utils\ChannelPool (#5671)
1 parent d9a7e8d commit faebc78

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"require": {
1919
"php": ">=8.0",
20+
"hyperf/collection": "~3.0.0",
2021
"hyperf/contract": "~3.0.0",
2122
"hyperf/exception-handler": "~3.0.0",
2223
"hyperf/http-server": "~3.0.0",

src/Context.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Hyperf\Collection\Arr;
1616
use Hyperf\Context\Context as CoContext;
1717

18+
use function Hyperf\Collection\data_get;
19+
use function Hyperf\Collection\data_set;
20+
1821
class Context
1922
{
2023
public const FD = 'ws.fd';

0 commit comments

Comments
 (0)