Re: Make Closure covariant to callable

From: Date: Wed, 13 Nov 2024 00:46:16 +0000
Subject: Re: Make Closure covariant to callable
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-125949@lists.php.net to get a copy of this message
There are some weird cases with callable which is why they aren't allowed as a property type. I don't remember all the edges, but if we are sure that we cannot hit those with simple co-/contra-variance, then I don't think this needs an RFC and we can just merge the PR.

« previous php.internals (#125949) next »