Skip to content

Commit 23affff

Browse files
Instead of classes and functions of Hyperf\Utils (#5674)
Co-authored-by: 李铭昕 <[email protected]>
1 parent 332dd5d commit 23affff

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"php": ">=8.0",
1414
"hyperf/codec": "~3.0.0",
1515
"hyperf/engine": "^1.9|^2.7",
16+
"hyperf/support": "~3.0.0",
1617
"hyperf/utils": "~3.0.0",
1718
"laminas/laminas-mime": "^2.7",
1819
"psr/http-message": "^1.0|^2.0"

src/Server/Request/Parser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
use Hyperf\HttpMessage\Server\RequestParserInterface;
1515
use InvalidArgumentException;
1616

17+
use function Hyperf\Support\make;
18+
1719
class Parser implements RequestParserInterface
1820
{
1921
protected array $parsers = [];

0 commit comments

Comments
 (0)