@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | $this->password = $password; |
58 | 58 | $this->country = $country; |
59 | 59 | |
60 | - if (! array_key_exists($country, $this->hostNames)) { |
|
60 | + if ( ! array_key_exists($country, $this->hostNames)) { |
|
61 | 61 | throw new Exception('No hostname for the given country available.'); |
62 | 62 | } |
63 | 63 | $this->host = 'https://' . $this->hostNames[$country] . '/'; |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | $xml = $this->client->request('GET', $this->_getTransactionUrl($start, $end)); |
117 | 117 | |
118 | 118 | $items = []; |
119 | - $xml->filter('Items Item')->each(function ($item) use (&$items) { |
|
119 | + $xml->filter('Items Item')->each(function($item) use (&$items) { |
|
120 | 120 | $amazonItem = new Item; |
121 | 121 | |
122 | 122 | $amazonItem->setAsin((string)$item->attr('ASIN')); |