lelyfoto / twig-instanceof

Adds InstanceOf Expression as Twig Extension
MIT License
3 stars 3 forks source link

Add a return type to Fix deprecated message #3

Closed ceponcet closed 3 months ago

ceponcet commented 3 months ago

Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "Lelyfoto\Twig\InstanceOf\DependencyInjection\TwigInstanceOfExtension" now to avoid errors or add an explicit @return annotation to suppress this message.