Skip to content

Commit

Permalink
Fix generateHash signature to allow null as exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-93 authored and bobvandevijver committed Aug 20, 2024
1 parent 6df452f commit 3a7af12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Handler/AbstractExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function onKernelResponse(ResponseEvent $responseObject): void
}
}

protected function generateHash(string $url, string $exceptionMessage): string
protected function generateHash(string $url, ?string $exceptionMessage): string
{
return md5($url . $exceptionMessage);
}
Expand Down

0 comments on commit 3a7af12

Please sign in to comment.