File tree 4 files changed +5
-2
lines changed 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 39
39
- " 8.0"
40
40
- " 8.1"
41
41
- " 8.2"
42
+ - " 8.3"
43
+ - " 8.4"
42
44
43
45
steps :
44
46
- name : Checkout.
Original file line number Diff line number Diff line change 35
35
- " 8.0"
36
36
- " 8.1"
37
37
- " 8.2"
38
+ - " 8.3"
38
39
39
40
steps :
40
41
- name : Checkout.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ final class ErrorHandler implements RequestHandlerInterface
29
29
*/
30
30
public function __construct (
31
31
RequestHandlerInterface $ handler ,
32
- ErrorResponseGeneratorInterface $ responseGenerator = null
32
+ ? ErrorResponseGeneratorInterface $ responseGenerator = null
33
33
) {
34
34
$ this ->handler = $ handler ;
35
35
$ this ->responseGenerator = $ responseGenerator ?? new ErrorResponseGenerator ();
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ final class ErrorHandlerMiddleware implements MiddlewareInterface
17
17
/**
18
18
* @param ErrorResponseGeneratorInterface|null $responseGenerator
19
19
*/
20
- public function __construct (ErrorResponseGeneratorInterface $ responseGenerator = null )
20
+ public function __construct (? ErrorResponseGeneratorInterface $ responseGenerator = null )
21
21
{
22
22
$ this ->responseGenerator = $ responseGenerator ?? new ErrorResponseGenerator ();
23
23
}
You can’t perform that action at this time.
0 commit comments