KatjaGlassConsulting / ApprovalBundle

A Kimai Plugin to manage weekly approval workflow
MIT License
11 stars 14 forks source link

fix deprecation #46

Closed kevinpapst closed 2 months ago

kevinpapst commented 2 months ago

Fixes the deprecations:

User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "KimaiPlugin\ApprovalBundle\DependencyInjection\ApprovalExtension" now to avoid errors or add an explicit @return annotation to suppress this message. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Method \"Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface::load()\" might add \"void\" as a native return type declaration in the future. Do the same in implementation \"KimaiPlugin\\ApprovalBundle\\DependencyInjection\\ApprovalExtension\" now to avoid errors or add an explicit @return annotation to suppress this message. 

and

User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface::prepend()" might add "void" as a native return type declaration in the future. Do the same in implementation "KimaiPlugin\ApprovalBundle\DependencyInjection\ApprovalExtension" now to avoid errors or add an explicit @return annotation to suppress this message. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Method \"Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface::prepend()\" might add \"void\" as a native return type declaration in the future. Do the same in implementation \"KimaiPlugin\\ApprovalBundle\\DependencyInjection\\ApprovalExtension\" now to avoid errors or add an explicit @return annotation to suppress this message. 
KatjaGlassConsulting commented 2 months ago

Thanks for the fixes.