@@ -38,7 +38,7 @@ public function testGetConstructorResolvesFactoryChildDefinitionsClass()
38
38
$ pass = new class () extends AbstractRecursivePass {
39
39
public $ actual ;
40
40
41
- protected function processValue ($ value , $ isRoot = false )
41
+ protected function processValue ($ value , $ isRoot = false ): mixed
42
42
{
43
43
if ($ value instanceof Definition && 'foo ' === $ this ->currentId ) {
44
44
$ this ->actual = $ this ->getConstructor ($ value , true );
@@ -64,7 +64,7 @@ public function testGetConstructorResolvesChildDefinitionsClass()
64
64
$ pass = new class () extends AbstractRecursivePass {
65
65
public $ actual ;
66
66
67
- protected function processValue ($ value , $ isRoot = false )
67
+ protected function processValue ($ value , $ isRoot = false ): mixed
68
68
{
69
69
if ($ value instanceof Definition && 'foo ' === $ this ->currentId ) {
70
70
$ this ->actual = $ this ->getConstructor ($ value , true );
@@ -90,7 +90,7 @@ public function testGetReflectionMethodResolvesChildDefinitionsClass()
90
90
$ pass = new class () extends AbstractRecursivePass {
91
91
public $ actual ;
92
92
93
- protected function processValue ($ value , $ isRoot = false )
93
+ protected function processValue ($ value , $ isRoot = false ): mixed
94
94
{
95
95
if ($ value instanceof Definition && 'foo ' === $ this ->currentId ) {
96
96
$ this ->actual = $ this ->getReflectionMethod ($ value , 'create ' );
@@ -114,7 +114,7 @@ public function testGetConstructorDefinitionNoClass()
114
114
$ container ->register ('foo ' );
115
115
116
116
(new class () extends AbstractRecursivePass {
117
- protected function processValue ($ value , $ isRoot = false )
117
+ protected function processValue ($ value , $ isRoot = false ): mixed
118
118
{
119
119
if ($ value instanceof Definition && 'foo ' === $ this ->currentId ) {
120
120
$ this ->getConstructor ($ value , true );
0 commit comments