Skip to content

Commit d8b5395

Browse files
[DI] fix merge
1 parent 428b700 commit d8b5395

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/Compiler/AbstractRecursivePassTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testGetConstructorResolvesFactoryChildDefinitionsClass()
3838
$pass = new class() extends AbstractRecursivePass {
3939
public $actual;
4040

41-
protected function processValue($value, $isRoot = false)
41+
protected function processValue($value, $isRoot = false): mixed
4242
{
4343
if ($value instanceof Definition && 'foo' === $this->currentId) {
4444
$this->actual = $this->getConstructor($value, true);
@@ -64,7 +64,7 @@ public function testGetConstructorResolvesChildDefinitionsClass()
6464
$pass = new class() extends AbstractRecursivePass {
6565
public $actual;
6666

67-
protected function processValue($value, $isRoot = false)
67+
protected function processValue($value, $isRoot = false): mixed
6868
{
6969
if ($value instanceof Definition && 'foo' === $this->currentId) {
7070
$this->actual = $this->getConstructor($value, true);
@@ -90,7 +90,7 @@ public function testGetReflectionMethodResolvesChildDefinitionsClass()
9090
$pass = new class() extends AbstractRecursivePass {
9191
public $actual;
9292

93-
protected function processValue($value, $isRoot = false)
93+
protected function processValue($value, $isRoot = false): mixed
9494
{
9595
if ($value instanceof Definition && 'foo' === $this->currentId) {
9696
$this->actual = $this->getReflectionMethod($value, 'create');
@@ -114,7 +114,7 @@ public function testGetConstructorDefinitionNoClass()
114114
$container->register('foo');
115115

116116
(new class() extends AbstractRecursivePass {
117-
protected function processValue($value, $isRoot = false)
117+
protected function processValue($value, $isRoot = false): mixed
118118
{
119119
if ($value instanceof Definition && 'foo' === $this->currentId) {
120120
$this->getConstructor($value, true);

0 commit comments

Comments
 (0)