@@ -44,13 +44,13 @@ |
||
44 | 44 | ] |
45 | 45 | ); |
46 | 46 | $promise->then( |
47 | - function (ResponseInterface $response) use (&$result) { |
|
47 | + function(ResponseInterface $response) use (&$result) { |
|
48 | 48 | $result[ResponderInterface::CONTENT_KEY] = $response->getBody()->getContents(); |
49 | 49 | $result[ResponderInterface::SUCCESS_KEY] = true; |
50 | 50 | $result[ResponderInterface::MESSAGE_KEY] = 'Response correctly received'; // Perhaps normalize this message |
51 | 51 | return $result; |
52 | 52 | }, |
53 | - function (RuntimeException $exception) { |
|
53 | + function(RuntimeException $exception) { |
|
54 | 54 | // Missing implementation |
55 | 55 | } |
56 | 56 | ); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | { |
50 | 50 | // If auth problems the log and return void |
51 | 51 | $this->client = $this->clientFactory->create([ |
52 | - 'config' => [ // Playing a little bit with Magento rules by passing config key, must ve refactored |
|
52 | + 'config' => [// Playing a little bit with Magento rules by passing config key, must ve refactored |
|
53 | 53 | $this->baseUriKey => $credentials[self::BASE_URI_KEY] |
54 | 54 | ] |
55 | 55 | ]); |