File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ interface GenericErrorPageRendererInterface
16
16
public function renderHtmlProdErrorPage (
17
17
int $ statusCode ,
18
18
?string $ safeExceptionMessage ,
19
- ?string $ errorReportEmailAddress
19
+ ?string $ errorReportEmailAddress,
20
20
): string ;
21
21
}
Original file line number Diff line number Diff line change 19
19
{
20
20
public function __construct (
21
21
private bool $ displayErrorDetails ,
22
- private ?LoggerInterface $ logger
22
+ private ?LoggerInterface $ logger,
23
23
) {
24
24
}
25
25
Original file line number Diff line number Diff line change 18
18
public function renderHtmlProdErrorPage (
19
19
int $ statusCode ,
20
20
?string $ safeExceptionMessage = null ,
21
- ?string $ errorReportEmailAddress = null
21
+ ?string $ errorReportEmailAddress = null ,
22
22
): string {
23
23
switch ($ statusCode ) {
24
24
case 404 :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public function renderJsonErrorResponse(
13
13
ResponseInterface $ response ,
14
14
bool $ displayErrorDetails = false ,
15
15
int $ statusCode = 500 ,
16
- string $ reasonPhrase = 'Internal Server Error '
16
+ string $ reasonPhrase = 'Internal Server Error ' ,
17
17
): ResponseInterface {
18
18
$ response = $ response ->withHeader ('Content-Type ' , 'application/json ' );
19
19
You can’t perform that action at this time.
0 commit comments