Skip to content

Commit 3a7af12

Browse files
tobias-93bobvandevijver
authored andcommitted
Fix generateHash signature to allow null as exception message
1 parent 6df452f commit 3a7af12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Handler/AbstractExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function onKernelResponse(ResponseEvent $responseObject): void
311311
}
312312
}
313313

314-
protected function generateHash(string $url, string $exceptionMessage): string
314+
protected function generateHash(string $url, ?string $exceptionMessage): string
315315
{
316316
return md5($url . $exceptionMessage);
317317
}

0 commit comments

Comments
 (0)