We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af00449 commit 622d3b5Copy full SHA for 622d3b5
app/code/Magento/Webapi/Model/AbstractSchemaGenerator.php
@@ -81,11 +81,7 @@ public function __construct(
81
*/
82
public function getListOfServices()
83
{
84
- $listOfAllowedServices = [];
85
- foreach ($this->serviceMetadata->getServicesConfig() as $serviceName => $service) {
86
- $listOfAllowedServices[] = $serviceName;
87
- }
88
- return $listOfAllowedServices;
+ return array_keys($this->serviceMetadata->getServicesConfig());
89
}
90
91
/**
0 commit comments