Skip to content

Commit 7a06260

Browse files
committed
bug #2172 Remove accidentally added return type from ExceptionHandler (alexander-schranz)
This PR was merged into the 2.x branch. Discussion ---------- Remove accidentally added return type from ExceptionHandler In #2126 this was accidently added to a protected function which could be overwritten. Commits ------- 13545be Remove accidentally added return type from ExceptionHandler
2 parents 4856fba + 13545be commit 7a06260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Serializer/Normalizer/ExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function serializeErrorToXml(
132132
}
133133
}
134134

135-
protected function convertToArray(\Exception $exception, Context $context): array
135+
protected function convertToArray(\Exception $exception, Context $context)
136136
{
137137
return $this->convertThrowableToArray($exception, $context);
138138
}

0 commit comments

Comments
 (0)