File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Magento/AcceptanceTestFramework/Test/Objects Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,8 +293,8 @@ private function stripAndReturnParameters($reference)
293
293
private function findAndReplaceReferences ($ objectHandler , $ inputString )
294
294
{
295
295
//Determine if there are Parethesis and parameters. If not, use strict regex. If so, use nested regex.
296
- preg_match_all (ActionObject::ACTION_ATTRIBUTE_VARIABLE_REGEX_PATTERN , $ inputString , $ variableMatches );
297
- if (! empty ($ variableMatches [0 ])) {
296
+ preg_match_all (ActionObject::ACTION_ATTRIBUTE_VARIABLE_REGEX_PARAMETER , $ inputString , $ variableMatches );
297
+ if (empty ($ variableMatches [0 ])) {
298
298
$ regex = ActionObject::ACTION_ATTRIBUTE_VARIABLE_REGEX_PATTERN ;
299
299
} else {
300
300
$ regex = ActionObject::ACTION_ATTRIBUTE_VARIABLE_REGEX_NESTED ;
You can’t perform that action at this time.
0 commit comments