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 b869c6d commit e2e1f83Copy full SHA for e2e1f83
src/ApiFactory.php
@@ -102,10 +102,10 @@ public function createApi($apiName, $apiVersion = 1)
102
$api->setName($apiName);
103
104
$serviceConfigs = [];
105
- if (isset($this->config['zf-rest']) && !empty($this->config['zf-rest'])) {
+ if (!empty($this->config['zf-rest'])) {
106
$serviceConfigs = array_merge($serviceConfigs, $this->config['zf-rest']);
107
}
108
- if (isset($this->config['zf-rpc']) && !empty($this->config['zf-rpc'])) {
+ if (!empty($this->config['zf-rpc'])) {
109
$serviceConfigs = array_merge($serviceConfigs, $this->config['zf-rpc']);
110
111
0 commit comments