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:
Fabien Potencier 2019-11-24 18:43:39 +01:00
commit e757512f8f

View File

@ -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;