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
Feature request
Closure::bind/bindToallow 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