Closed deguif closed 2 years ago
Starting PHP 8.0, void an be type-hinted as return for __clone method. But proxy generated doesn't add this return type, which breaks the inherited contract.
void
__clone
Thanks @deguif!
@greg0ire @malarzm thanks for the quick review, merge and release.
Starting PHP 8.0,
void
an be type-hinted as return for__clone
method. But proxy generated doesn't add this return type, which breaks the inherited contract.