We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6dee97 commit 9f61a01Copy full SHA for 9f61a01
src/Symfony/Component/Serializer/Exception/AggregatedException.php
@@ -46,9 +46,11 @@ public function getExceptions(): \Generator
46
foreach ($exception->getExceptions() as $nestedParams => $nestedException) {
47
yield "$param.$nestedParams" => $nestedException;
48
}
49
- } else {
50
- yield $param => $exception;
+
+ continue;
51
52
53
+ yield $param => $exception;
54
55
56
0 commit comments