Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 401b423

Browse files
Stanislav Idolovmage2pratik
Stanislav Idolov
authored andcommitted
Fixed code styles issues
1 parent 999d8e5 commit 401b423

File tree

1 file changed

+4
-3
lines changed
  • app/code/Magento/Integration/Model/Config/Consolidated

1 file changed

+4
-3
lines changed

app/code/Magento/Integration/Model/Config/Consolidated/Converter.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)