Skip to content

Commit d44fdaa

Browse files
authored
Update TestGenerator.php
1 parent 0187d4b commit d44fdaa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public function createAllTestFiles($testManifest = null, $testsToIgnore = null)
250250

251251
/**
252252
* Throw exception if duplicate arguments found
253-
* @param string $fileContents
253+
* @param string $fileContents
254254
* @param TestObject $testObject
255255
* @return void
256256
* @throws TestFrameworkException
@@ -274,7 +274,8 @@ public function throwExceptionIfDuplicateArgumentsFound(string $fileContents, Te
274274
$argumentArray = [];
275275
foreach ($fileToArr as $fileVal) {
276276
$fileVal = trim($fileVal);
277-
if ((str_contains($fileVal, '<actionGroup') || str_contains($fileVal, '<helper')) && str_contains($fileVal, $stepKey)) {
277+
if ((str_contains($fileVal, '<actionGroup') || str_contains($fileVal, '<helper')) &&
278+
str_contains($fileVal, $stepKey)) {
278279
$actionGroupStart = true;
279280
continue;
280281
}

0 commit comments

Comments
 (0)