You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closure::bind/bindTo allow resetting the scope of a closure as well as $this. Having a way of providing this information along with @param-closure-this (perhaps @param-closure-scope?) will allow for exposing this to PHPStan.
Feature request
Closure::bind/bindTo
allow resetting the scope of a closure as well as$this
. Having a way of providing this information along with@param-closure-this
(perhaps@param-closure-scope
?) will allow for exposing this to PHPStan.Example that is valid code but have no way of telling PHPStan: https://phpstan.org/r/87263bfb-cb77-4bdf-a8b8-8a9a8cab7e97
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: