@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | private function addApis() |
| 59 | 59 | { |
| 60 | 60 | $clientServiceId = $this->config['client']; |
| 61 | - $apiConfig = $this->config['api']; |
|
| 61 | + $apiConfig = $this->config['api']; |
|
| 62 | 62 | $apiDefaultConfig = array( |
| 63 | 63 | 'url' => null, |
| 64 | 64 | 'default_params' => array() |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | |
| 83 | 83 | $app = $this->app; |
| 84 | 84 | |
| 85 | - $apiCallable = function () use ($app, $clientServiceId, $config) { |
|
| 85 | + $apiCallable = function() use ($app, $clientServiceId, $config) { |
|
| 86 | 86 | |
| 87 | 87 | if (!isset($app[$clientServiceId])) { |
| 88 | 88 | throw new \InvalidArgumentException("'$clientServiceId' service does not exists"); |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | private function addAliases($aliasedApiName) |
| 115 | 115 | { |
| 116 | 116 | $app = $this->app; |
| 117 | - $aliasCallable = function () use ($app, $aliasedApiName) { |
|
| 117 | + $aliasCallable = function() use ($app, $aliasedApiName) { |
|
| 118 | 118 | return $app['devhelp_piwik.api.'.$aliasedApiName]; |
| 119 | 119 | }; |
| 120 | 120 | |