@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | $request = $this->createRequestFromDefinition($requestDefinition, $params); |
127 | 127 | $this->validateRequest($request, $requestDefinition); |
128 | 128 | |
129 | - $response = $this->client->sendRequest($request); |
|
129 | + $response = $this->client->sendRequest($request); |
|
130 | 130 | $this->validateResponse($response, $requestDefinition); |
131 | 131 | |
132 | 132 | $data = $this->getDataFromResponse( |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | */ |
151 | 151 | public function callAsync($operationId, array $params = []) |
152 | 152 | { |
153 | - if (! $this->client instanceof HttpAsyncClient) { |
|
153 | + if (!$this->client instanceof HttpAsyncClient) { |
|
154 | 154 | throw new \RuntimeException( |
155 | 155 | sprintf( |
156 | 156 | '"%s" does not support async request', |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | $promise = $this->client->sendAsyncRequest($request); |
165 | 165 | |
166 | 166 | return $promise->then( |
167 | - function (ResponseInterface $response) use ($request, $requestDefinition) { |
|
167 | + function(ResponseInterface $response) use ($request, $requestDefinition) { |
|
168 | 168 | |
169 | 169 | return $this->getDataFromResponse( |
170 | 170 | $response, |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | foreach ($params as $name => $value) { |
254 | 254 | $requestParameter = $requestParameters->getByName($name); |
255 | 255 | if ($requestParameter === null) { |
256 | - throw new \InvalidArgumentException($name. ' is not a defined request parameter'); |
|
256 | + throw new \InvalidArgumentException($name.' is not a defined request parameter'); |
|
257 | 257 | } |
258 | 258 | |
259 | 259 | switch ($requestParameter->getLocation()) { |