10
10
11
11
class StofDoctrineExtensionsExtensionTest extends TestCase
12
12
{
13
+ /**
14
+ * @return iterable<array{string}>
15
+ */
13
16
public static function provideExtensions ()
14
17
{
15
18
return array (
@@ -30,7 +33,7 @@ public static function provideExtensions()
30
33
/**
31
34
* @dataProvider provideExtensions
32
35
*/
33
- public function testLoadORMConfig ($ listener )
36
+ public function testLoadORMConfig (string $ listener ): void
34
37
{
35
38
$ extension = new StofDoctrineExtensionsExtension ();
36
39
$ container = new ContainerBuilder ();
@@ -57,7 +60,7 @@ public function testLoadORMConfig($listener)
57
60
/**
58
61
* @dataProvider provideExtensions
59
62
*/
60
- public function testLoadMongodbConfig ($ listener )
63
+ public function testLoadMongodbConfig (string $ listener ): void
61
64
{
62
65
$ extension = new StofDoctrineExtensionsExtension ();
63
66
$ container = new ContainerBuilder ();
@@ -84,7 +87,7 @@ public function testLoadMongodbConfig($listener)
84
87
/**
85
88
* @dataProvider provideExtensions
86
89
*/
87
- public function testLoadBothConfig ($ listener )
90
+ public function testLoadBothConfig (string $ listener ): void
88
91
{
89
92
$ extension = new StofDoctrineExtensionsExtension ();
90
93
$ container = new ContainerBuilder ();
@@ -110,7 +113,7 @@ public function testLoadBothConfig($listener)
110
113
/**
111
114
* @dataProvider provideExtensions
112
115
*/
113
- public function testEventConsistency (string $ listener )
116
+ public function testEventConsistency (string $ listener ): void
114
117
{
115
118
$ extension = new StofDoctrineExtensionsExtension ();
116
119
$ container = new ContainerBuilder ();
0 commit comments