diff --git a/Command/ExportTranslationsCommand.php b/Command/ExportTranslationsCommand.php index c97958c7..a5045f44 100644 --- a/Command/ExportTranslationsCommand.php +++ b/Command/ExportTranslationsCommand.php @@ -35,7 +35,7 @@ public function __construct( /** * {@inheritdoc} */ - protected function configure() + protected function configure(): void { $this->setName('lexik:translations:export'); $this->setDescription('Export translations from the database to files.'); diff --git a/Command/ImportTranslationsCommand.php b/Command/ImportTranslationsCommand.php index 14ea54ea..60cfbd67 100644 --- a/Command/ImportTranslationsCommand.php +++ b/Command/ImportTranslationsCommand.php @@ -46,7 +46,7 @@ public function __construct( /** * {@inheritdoc} */ - protected function configure() + protected function configure(): void { $this->setName('lexik:translations:import'); $this->setDescription('Import all translations from flat files (xliff, yml, php) into the database.'); diff --git a/LexikTranslationBundle.php b/LexikTranslationBundle.php index 9fa6aee6..80b92d42 100644 --- a/LexikTranslationBundle.php +++ b/LexikTranslationBundle.php @@ -14,7 +14,7 @@ */ class LexikTranslationBundle extends Bundle { - public function build(ContainerBuilder $container) + public function build(ContainerBuilder $container): void { parent::build($container);