mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 13:26:37 +00:00
d1457a40b6
If a static method cannot be resolved to the calling class, but the calling class has, or inherits, a `__callStatic` handler, this allows the `__callStatic` handler to be used with the calling class, and not the inherited class as would occur with reflection. This allows systems such as Laravel facades to still work. Fixes https://github.com/twigphp/Twig/issues/3716