Skip to content

Commit

Permalink
Symfony 6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Aug 17, 2022
1 parent 8069a9b commit 8fc7d7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/RockSolidMegaMenuExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class RockSolidMegaMenuExtension extends Extension
/**
* {@inheritdoc}
*/
public function getAlias()
public function getAlias(): string
{
return 'rocksolid_mega_menu';
}
Expand Down
3 changes: 2 additions & 1 deletion src/RockSolidMegaMenuBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
namespace MadeYourDay\RockSolidMegaMenu;

use MadeYourDay\RockSolidMegaMenu\DependencyInjection\RockSolidMegaMenuExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

/**
Expand All @@ -21,7 +22,7 @@ class RockSolidMegaMenuBundle extends Bundle
/**
* {@inheritdoc}
*/
public function getContainerExtension()
public function getContainerExtension(): ?ExtensionInterface
{
return new RockSolidMegaMenuExtension();
}
Expand Down

0 comments on commit 8fc7d7f

Please sign in to comment.