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
-------
bedad35e59
remove return type declaration from __sleep()
This commit is contained in:
commit
e757512f8f
@ -288,7 +288,7 @@ abstract class Constraint
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
public function __sleep(): array
|
||||
public function __sleep()
|
||||
{
|
||||
// Initialize "groups" option if it is not set
|
||||
$this->groups;
|
||||
|
Reference in New Issue
Block a user