File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/code/Magento/Integration/Model/Config/Consolidated Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,14 @@ public function convert($source)
8282 }
8383
8484 // Add root resource if any child has been added
85- if (! empty ($ result [$ integrationName ][self ::API_RESOURCES ])) {
85+ if (!empty ($ result [$ integrationName ][self ::API_RESOURCES ])) {
8686 array_unshift ($ result [$ integrationName ][self ::API_RESOURCES ], $ allResources [1 ]['id ' ]);
8787 }
8888
8989 // Remove any duplicates added parents
90- $ result [$ integrationName ][self ::API_RESOURCES ] =
91- array_values (array_unique ($ result [$ integrationName ][self ::API_RESOURCES ]));
90+ $ result [$ integrationName ][self ::API_RESOURCES ] = array_values (
91+ array_unique ($ result [$ integrationName ][self ::API_RESOURCES ])
92+ );
9293 }
9394 return $ result ;
9495 }
You can’t perform that action at this time.
0 commit comments