phpstan-drupal RenderCallbackRule improvements for union type callables

Опубликовано: 16 Июнь 2026
на канале: Matt Glaman
25
2

In this week's work, I dove into an improvement for union-type callables that cannot be called or resolved. This happens when the class or method is dynamically provided by a variable and PHPStan cannot resolve the constant string type.

Check out the PR here: https://github.com/mglaman/phpstan-dr...