改名
This commit is contained in:
@@ -15,11 +15,12 @@ class ExceptionHandlerDispatcher implements ExceptionHandlerInterface
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @param Throwable $exception
|
||||
* @param CResponse $response
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
/**
|
||||
* @param Throwable $exception
|
||||
* @param CResponse $response
|
||||
* @return ResponseInterface
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function emit(Throwable $exception, Response $response): ResponseInterface
|
||||
{
|
||||
if ($exception->getCode() == 404) {
|
||||
|
||||
Reference in New Issue
Block a user