@@ -34,7 +34,7 @@ |
||
34 | 34 | } |
35 | 35 | // If auth problems the log and return void |
36 | 36 | $this->client = $this->clientFactory->create([ |
37 | - 'config' => [ // Playing a little bit with Magento rules by passing config key, must ve refactored |
|
37 | + 'config' => [// Playing a little bit with Magento rules by passing config key, must ve refactored |
|
38 | 38 | 'base_uri' => $credentials['base_uri'] |
39 | 39 | ] |
40 | 40 | ]); |
@@ -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 | ); |