Skip to content

Commit

Permalink
优化文档
Browse files Browse the repository at this point in the history
  • Loading branch information
pengxuxu committed Feb 4, 2024
1 parent e386470 commit 501818f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PHP Fatal error: Uncaught Swoole\Error: cURL is executing, cannot be operated i
```php
$app = new Application($config);

if (Hyperf\Context\Context\Context::get(ServerRequestInterface::class) && method_exists($app, 'setRequest')) {
if (\Hyperf\Context\Context::get(ServerRequestInterface::class) && method_exists($app, 'setRequest')) {
$app->setRequest(ApplicationContext::getContainer()->get(\Hyperf\HttpServer\Contract\RequestInterface));
}

Expand Down

0 comments on commit 501818f

Please sign in to comment.