@@ -136,8 +136,8 @@ public function loadExtension(array $config, ContainerConfigurator $container, C
136136 {
137137 $ services = $ container ->services ();
138138
139- $ connections = $ this ->resolveConnections ($ config );
140- $ connectionsNames = array_keys ($ connections );
139+ $ connections = $ this ->resolveConnections ($ config );
140+ $ connectionsNames = array_keys ($ connections );
141141 $ defaultConnectionName = $ this ->resolveDefaultConnectionName ($ connections , $ config ['default_connection ' ] ?? self ::CONNECTION_DEFAULT );
142142
143143 $ this ->registerClients ($ services , $ connections , $ defaultConnectionName );
@@ -167,7 +167,7 @@ private function registerClientForConnection(ServicesConfigurator $services, arr
167167 $ defaultCurlRequesterServiceId = $ this ->serviceIdForConnection (DefaultCurlRequester::class, $ name );
168168 $ services ->set ($ defaultCurlRequesterServiceId , DefaultCurlRequester::class)->args ([
169169 '$apiUser ' => $ connection ['api_user ' ],
170- '$apiKey ' => $ connection ['api_key ' ],
170+ '$apiKey ' => $ connection ['api_key ' ],
171171 ]);
172172
173173 $ requesterServiceId = $ this ->serviceIdForConnection (Requester::class, $ name );
@@ -432,7 +432,7 @@ private function resolveConnections(array $config): array
432432 if (count ($ connections ) === 0 ) {
433433 $ connections [self ::CONNECTION_DEFAULT ] = [
434434 'api_user ' => $ config ['api_user ' ] ?? throw new RuntimeException ('Missing "api_user" configuration ' ),
435- 'api_key ' => $ config ['api_key ' ] ?? throw new RuntimeException ('Missing "api_key" configuration ' ),
435+ 'api_key ' => $ config ['api_key ' ] ?? throw new RuntimeException ('Missing "api_key" configuration ' ),
436436 ];
437437 }
438438
0 commit comments