Can Vural
                                            Can Vural
                                        
                                    Thank you!
@xitox97 Yeah it is ok to add more than one method in PR :+1:
Thank you! I made some changes to simplify it little bit.
Hi, Thank you for considering this! Yes, mainly this is about macros. But I think this could apply to any other code in PHP that uses `Closure::bindTo` In Laravel you...
The `Call to undefined method Foo:setBar` error is solved by this [extension.](https://github.com/nunomaduro/larastan/blob/master/src/Methods/Pipes/Macros.php) Basically we read the protected `macros` property with reflection. And get the closure. And create `ReflectionFunction` from it...
If it could be solved by a simple PHPDoc, I think it can be added to Laravel core. So no stub file would be needed.
Hi, Can you provide some code where this error happens?
Hi, are you gonna finish this?
Thank you! I pushed some commits to simplify some bits.