File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Persist Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -207,16 +207,14 @@ private function resolveUrlReference($urlIn, $entityObjects)
207207 $ dataItem = $ matchedParams [1 ][$ paramKey ];
208208 preg_match_all ("/(.+?)\./ " , $ dataItem , $ matchedParent );
209209
210- if (!empty ($ matchedParent ) && !empty ($ matchedParent [0 ]))
211- {
210+ if (!empty ($ matchedParent ) && !empty ($ matchedParent [0 ])) {
212211 $ paramEntityParent = $ matchedParent [1 ][0 ];
213212 $ dataItem = preg_replace ('/^ ' .$ matchedParent [0 ][0 ].'/ ' , '' , $ dataItem );
214213 }
215214
216215 foreach ($ entityObjects as $ entityObject ) {
217216
218- if ($ paramEntityParent === "" || $ entityObject ->getType () == $ paramEntityParent )
219- {
217+ if ($ paramEntityParent === "" || $ entityObject ->getType () == $ paramEntityParent ) {
220218 $ param = $ entityObject ->getDataByName (
221219 $ dataItem ,
222220 EntityDataObject::CEST_UNIQUE_VALUE
You can’t perform that action at this time.
0 commit comments