lelyfoto / twig-instanceof

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

Add return type to getTests() method #1

Closed petervanderwal closed 1 year ago

petervanderwal commented 1 year ago

The return type was missing, causing

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

messages in bin/console output

erkens commented 1 year ago

thanks :)

petervanderwal commented 1 year ago

thanks :)

Thank you for sharing this bundle :)