This commit is contained in:
as2252258@163.com
2021-08-05 00:57:45 +08:00
parent 1d68177cb9
commit 8b638abf13
3 changed files with 7 additions and 12 deletions
+2 -3
View File
@@ -2,7 +2,6 @@
namespace Server;
use HttpServer\Http\Response as SResponse;
use Server\Constrict\Response;
use Throwable;
@@ -16,8 +15,8 @@ interface ExceptionHandlerInterface
/**
* @param Throwable $exception
* @param Response $response
* @return Response|SResponse
* @return ResponseInterface
*/
public function emit(Throwable $exception, Response $response): Response|SResponse;
public function emit(Throwable $exception, Response $response): ResponseInterface;
}