Skip to content

Commit 89131b4

Browse files
committed
MQE-848: Upgrade MFTF PHP version to 7.2
Fix default $parameterized value to be false instead of null
1 parent 9bbf402 commit 89131b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Magento/FunctionalTestingFramework/Test/Objects/ActionObject.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,9 @@ private function findAndReplaceReferences($objectHandler, $inputString)
463463
}
464464

465465
if ($obj == null) {
466+
// keep initial values for subsequent logic
466467
$replacement = null;
467-
$parameterized = null;
468+
$parameterized = false;
468469
} elseif (get_class($obj) == PageObject::class) {
469470
$this->validateUrlAreaAgainstActionType($obj);
470471
$replacement = $obj->getUrl();

0 commit comments

Comments
 (0)