Skip to content

Commit e757512

Browse files
committed
bug #34513 [Validator] remove return type declaration from __sleep() (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Validator] remove return type declaration from __sleep() | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #34478 | License | MIT | Doc PR | Commits ------- bedad35 remove return type declaration from __sleep()
2 parents a8a9e69 + bedad35 commit e757512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraint.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public function getTargets()
288288
*
289289
* @internal
290290
*/
291-
public function __sleep(): array
291+
public function __sleep()
292292
{
293293
// Initialize "groups" option if it is not set
294294
$this->groups;

0 commit comments

Comments
 (0)