Passed
Push — master ( f9bedf...ef99b1 )
by Marco
02:32
created
src/AmazonRevenue/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'));
Please login to merge, or discard this patch.