rompetomp / inertia-bundle

Inertia.js server-side adapter for Symfony
MIT License
153 stars 41 forks source link

Fix Deprecation warning #34

Closed Tofandel closed 2 years ago

Tofandel commented 2 years ago

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

rompetomp commented 2 years ago

Thanks @Tofandel