diff --git a/tests/bundle/DependencyInjection/Compiler/KernelOverridePassTest.php b/tests/bundle/DependencyInjection/Compiler/KernelOverridePassTest.php index 0854e7c..d3fe7e5 100644 --- a/tests/bundle/DependencyInjection/Compiler/KernelOverridePassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/KernelOverridePassTest.php @@ -19,7 +19,7 @@ */ class KernelOverridePassTest extends AbstractCompilerPassTestCase { - public function getTemplatesPathMap() + public function getTemplatesPathMap(): array { return [ [[]], @@ -45,7 +45,7 @@ protected function registerCompilerPass(ContainerBuilder $container): void * * @param array $templatesPathMap */ - public function testKernelViewsDirectoryIsMappedToStandardTheme(array $templatesPathMap) + public function testKernelViewsDirectoryIsMappedToStandardTheme(array $templatesPathMap): void { $this->setParameter('ibexa.design.templates.path_map', $templatesPathMap); $this->setParameter( @@ -67,7 +67,7 @@ public function testKernelViewsDirectoryIsMappedToStandardTheme(array $templates ); } - public function testKernelTemplateNamesHaveEzDesignPrefix() + public function testKernelTemplateNamesHaveEzDesignPrefix(): void { $this->container->compile(); diff --git a/tests/bundle/DependencyInjection/Compiler/StandardThemePassTest.php b/tests/bundle/DependencyInjection/Compiler/StandardThemePassTest.php index 2badd7c..5e9e366 100644 --- a/tests/bundle/DependencyInjection/Compiler/StandardThemePassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/StandardThemePassTest.php @@ -22,7 +22,7 @@ class StandardThemePassTest extends AbstractCompilerPassTestCase /** * Data provider returning various Ibexa Design Lists configurations. */ - public function getDesignList() + public function getDesignList(): array { return [ [ @@ -63,7 +63,7 @@ public function getDesignList() public function testStandardThemeIsAppendedToEveryDesign( array $designList, array $expectedDesignList - ) { + ): void { $this->setParameter('ibexa.design.list', $designList); $this->compile();