Skip to content

Commit 204849b

Browse files
Revert more native return types
1 parent a9a67d4 commit 204849b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Compiler/AbstractRecursivePass.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ abstract class AbstractRecursivePass implements CompilerPassInterface
3737
private ExpressionLanguage $expressionLanguage;
3838
private bool $inExpression = false;
3939

40-
public function process(ContainerBuilder $container): void
40+
/**
41+
* @return void
42+
*/
43+
public function process(ContainerBuilder $container)
4144
{
4245
$this->container = $container;
4346

@@ -65,8 +68,10 @@ protected function inExpression(bool $reset = true): bool
6568

6669
/**
6770
* Processes a value found in a definition tree.
71+
*
72+
* @return mixed
6873
*/
69-
protected function processValue(mixed $value, bool $isRoot = false): mixed
74+
protected function processValue(mixed $value, bool $isRoot = false)
7075
{
7176
if (\is_array($value)) {
7277
foreach ($value as $k => $v) {

0 commit comments

Comments
 (0)