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