getAnonymizedStackTrace change param type to Throwable

This commit is contained in:
Jérémy Munsch 2021-09-15 19:05:32 +02:00
parent 97b4576d7b
commit 6b492a0b06

View file

@ -109,7 +109,7 @@ class ExceptionHandler extends Handler
* @param \Exception $e
* @return string
*/
private function getAnonymizedStackTrace(\Exception $e): string
private function getAnonymizedStackTrace(Throwable $e): string
{
$projectPath = \realpath(\sprintf('%s/../', \app_path()));
$traceStack = $e->getTrace();