8000 Merge branch '5.4' into 6.0 · symfony/symfony@447178f · GitHub
[go: up one dir, main page]

Skip to content

Commit 447178f

Browse files
Merge branch '5.4' into 6.0
* 5.4: cs fix
2 parents b9a02ad + c8fc74c commit 447178f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -621,10 +621,6 @@ class NotSerializable
621621
{
622622
public function __sleep(): array
623623
{
624-
if (class_exists(\Error::class)) {
625-
throw new \Error('not serializable');
626-
}
627-
628-
throw new \Exception('not serializable');
624+
throw new \Error('not serializable');
629625
}
630626
}

0 commit comments

Comments
 (0)
0