File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,14 @@ final class ExceptionHandler extends BaseExceptionHandler implements ExceptionHa
3636
3737 /**
3838 * Determines the correct way to display the error.
39- *
40- * @return void
4139 */
4240 public function handle (
4341 Throwable $ exception ,
4442 RequestInterface $ request ,
4543 ResponseInterface $ response ,
4644 int $ statusCode ,
4745 int $ exitCode
48- ) {
46+ ): void {
4947 // ResponseTrait needs these properties.
5048 $ this ->request = $ request ;
5149 $ this ->response = $ response ;
Original file line number Diff line number Diff line change @@ -19,14 +19,12 @@ interface ExceptionHandlerInterface
1919{
2020 /**
2121 * Determines the correct way to display the error.
22- *
23- * @return void
2422 */
2523 public function handle (
2624 Throwable $ exception ,
2725 RequestInterface $ request ,
2826 ResponseInterface $ response ,
2927 int $ statusCode ,
3028 int $ exitCode
31- );
29+ ): void ;
3230}
You can’t perform that action at this time.
0 commit comments