Skip to content

Commit 62696c5

Browse files
author
lidanyang
committed
fix
1 parent 3775bba commit 62696c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
use Hyperf\ExceptionHandler\Formatter\FormatterInterface;
55
use Hyperf\HttpMessage\Server\Request;
6-
use Hyperf\HttpServer\Contract\ResponseInterface;
76
use Hyperf\Utils\ApplicationContext;
87
use Hyperf\Utils\Context;
98
use Lib\Framework\Http\Response;
109
use Psr\Container\ContainerInterface;
10+
use Psr\Http\Message\ResponseInterface as PsrResponseInterface;
1111
use Psr\Http\Message\ServerRequestInterface;
1212

1313
if (! function_exists('isDev')) {
@@ -38,7 +38,7 @@ function request()
3838
*/
3939
function response()
4040
{
41-
return Context::get(ResponseInterface::class);
41+
return Context::get(PsrResponseInterface::class);
4242
}
4343

4444
}

0 commit comments

Comments
 (0)