This commit is contained in:
2020-12-16 16:32:05 +08:00
parent a272edcca5
commit d75860d2ec
3 changed files with 9 additions and 5 deletions
+3 -3
View File
@@ -47,10 +47,10 @@ class OnRequest extends Callback
/**
* @param Request $request
* @param Response $response
* @return false|int|mixed|string|void
* @throws Exception
* @return mixed
* @throws ComponentException
*/
public function onRequest(Request $request, Response $response)
public function onRequest(Request $request, Response $response): mixed
{
try {
/** @var HRequest $sRequest */