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 @@ -206,16 +206,14 @@ private function resolveUrlReference($urlIn, $entityObjects)
206206 $ dataItem = $ matchedParams [1 ][$ paramKey ];
207207 preg_match_all ("/(.+?)\./ " , $ dataItem , $ matchedParent );
208208
209- if (!empty ($ matchedParent ) && !empty ($ matchedParent [0 ]))
210- {
209+ if (!empty ($ matchedParent ) && !empty ($ matchedParent [0 ])) {
211210 $ paramEntityParent = $ matchedParent [1 ][0 ];
212211 $ dataItem = preg_replace ('/^ ' .$ matchedParent [0 ][0 ].'/ ' , '' , $ dataItem );
213212 }
214213
215214 foreach ($ entityObjects as $ entityObject ) {
216215
217- if ($ paramEntityParent === "" || $ entityObject ->getType () == $ paramEntityParent )
218- {
216+ if ($ paramEntityParent === "" || $ entityObject ->getType () == $ paramEntityParent ) {
219217 $ param = $ entityObject ->getDataByName (
220218 $ dataItem ,
221219 EntityDataObject::CEST_UNIQUE_VALUE
You can’t perform that action at this time.
0 commit comments