Skip to content

Commit 5b57676

Browse files
authored
IBX-9727: Added missing type hints (#28)
Applied Rectors: * Rector\TypeDeclaration\Rector\Class_\AddTestsVoidReturnTypeWhereNoReturnRector * Rector\TypeDeclaration\Rector\ClassMethod\ReturnTypeFromReturnDirectArrayRector
1 parent 4376ac9 commit 5b57676

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/bundle/DependencyInjection/Compiler/KernelOverridePassTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class KernelOverridePassTest extends AbstractCompilerPassTestCase
2121
{
22-
public function getTemplatesPathMap()
22+
public function getTemplatesPathMap(): array
2323
{
2424
return [
2525
[[]],
@@ -45,7 +45,7 @@ protected function registerCompilerPass(ContainerBuilder $container): void
4545
*
4646
* @param array $templatesPathMap
4747
*/
48-
public function testKernelViewsDirectoryIsMappedToStandardTheme(array $templatesPathMap)
48+
public function testKernelViewsDirectoryIsMappedToStandardTheme(array $templatesPathMap): void
4949
{
5050
$this->setParameter('ibexa.design.templates.path_map', $templatesPathMap);
5151
$this->setParameter(
@@ -67,7 +67,7 @@ public function testKernelViewsDirectoryIsMappedToStandardTheme(array $templates
6767
);
6868
}
6969

70-
public function testKernelTemplateNamesHaveEzDesignPrefix()
70+
public function testKernelTemplateNamesHaveEzDesignPrefix(): void
7171
{
7272
$this->container->compile();
7373

tests/bundle/DependencyInjection/Compiler/StandardThemePassTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class StandardThemePassTest extends AbstractCompilerPassTestCase
2222
/**
2323
* Data provider returning various Ibexa Design Lists configurations.
2424
*/
25-
public function getDesignList()
25+
public function getDesignList(): array
2626
{
2727
return [
2828
[
@@ -63,7 +63,7 @@ public function getDesignList()
6363
public function testStandardThemeIsAppendedToEveryDesign(
6464
array $designList,
6565
array $expectedDesignList
66-
) {
66+
): void {
6767
$this->setParameter('ibexa.design.list', $designList);
6868

6969
$this->compile();

0 commit comments

Comments
 (0)