Skip to content

Commit 3a26994

Browse files
authored
Update TestGenerator.php
1 parent ad0ca00 commit 3a26994

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ public function throwExceptionIfDuplicateArgumentsFound(string $fileContents, $t
286286
foreach ($arguments as $argumentName => $argumentValue) {
287287
$argumentCounter = 0;
288288
foreach ($argumentArray as $rawArgument) {
289-
if (str_contains($rawArgument, '<argument') && str_contains($rawArgument, 'name="'.$argumentName.'"')) {
289+
if (str_contains($rawArgument, '<argument') &&
290+
str_contains($rawArgument, 'name="'.$argumentName.'"')) {
290291
$argumentCounter++;
291292
}
292293
if ($argumentCounter > 1) {

0 commit comments

Comments
 (0)