File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Persist Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ private function resolveUrlReference($urlIn, $entityObjects)
201201
202202 if (!empty ($ matchedParams )) {
203203 foreach ($ matchedParams [0 ] as $ paramKey => $ paramValue ) {
204-
205204 $ paramEntityParent = "" ;
206205 $ matchedParent = [];
207206 $ dataItem = $ matchedParams [1 ][$ paramKey ];
@@ -213,6 +212,7 @@ private function resolveUrlReference($urlIn, $entityObjects)
213212 }
214213
215214 foreach ($ entityObjects as $ entityObject ) {
215+ $ param = null ;
216216
217217 if ($ paramEntityParent === "" || $ entityObject ->getType () == $ paramEntityParent ) {
218218 $ param = $ entityObject ->getDataByName (
@@ -223,7 +223,6 @@ private function resolveUrlReference($urlIn, $entityObjects)
223223
224224 if (null !== $ param ) {
225225 $ urlOut = str_replace ($ paramValue , $ param , $ urlOut );
226- $ param = null ;
227226 continue ;
228227 }
229228 }
You can’t perform that action at this time.
0 commit comments