You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
I have a project that use this bundle with symfony version 5.4. When I run PHP unit tests. A warning is output:
1x: Method "Twig\Extension\ExtensionInterface::getFunctions()" might add "array" as a native return type declaration in the future. Do the same in implementation "Ob\HighchartsBundle\Twig\HighchartsExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
To stop all this warnings, just modify code to add a return type. For example for HighchartsExtension warning:
I have a project that use this bundle with symfony version 5.4. When I run PHP unit tests. A warning is output:
1x: Method "Twig\Extension\ExtensionInterface::getFunctions()" might add "array" as a native return type declaration in the future. Do the same in implementation "Ob\HighchartsBundle\Twig\HighchartsExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
To stop all this warnings, just modify code to add a return type. For example for
HighchartsExtension
warning:Before:
After:
Or
The text was updated successfully, but these errors were encountered: