Skip to content

Commit 4ef9e51

Browse files
committed
resolve static check
1 parent c0eb495 commit 4ef9e51

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,12 +2101,10 @@ private function resolveRuntimeReference($args, $regex, $func)
21012101
preg_match_all($regex, $arg, $matches);
21022102
if (!empty($matches[0])) {
21032103
foreach ($matches[0] as $matchKey => $fullMatch) {
2104-
$refVariable = $matches[1][$matchKey];
2105-
2106-
$replacement = $this->getReplacement($func, $refVariable);
2107-
2108-
$outputArg = $this->processQuoteBreaks($fullMatch, $newArgs[$key], $replacement);
2109-
$newArgs[$key] = $outputArg;
2104+
$refVariable = $matches[1][$matchKey];
2105+
$replacement = $this->getReplacement($func, $refVariable);
2106+
$outputArg = $this->processQuoteBreaks($fullMatch, $newArgs[$key], $replacement);
2107+
$newArgs[$key] = $outputArg;
21102108
}
21112109
unset($matches);
21122110
continue;

0 commit comments

Comments
 (0)