Skip to content

Commit

Permalink
Add return type to FMElfinderBundle::build() (#511)
Browse files Browse the repository at this point in the history
Fixes this warning:

User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "FM\ElfinderBundle\FMElfinderBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
  • Loading branch information
jontjs authored Sep 11, 2023
1 parent 30ce0fb commit 19a7578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FMElfinderBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class FMElfinderBundle extends Bundle
{
public function build(ContainerBuilder $container)
public function build(ContainerBuilder $container): void
{
parent::build($container);

Expand Down

0 comments on commit 19a7578

Please sign in to comment.