Test Setup Failed
Push — master ( f6c2b2...066293 )
by Marco
03:25
created
src/AmazonRevenue/Client.php 1 patch
Spacing   +4 added lines, -4 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'));
@@ -147,10 +147,10 @@  discard block
 block discarded – undo
147 147
             strtolower($this->country),
148 148
             $this->associateTag,
149 149
             $start->format('j'),
150
-            $start->format('n') - 1,
150
+            $start->format('n')-1,
151 151
             $start->format('Y'),
152 152
             $end->format('j'),
153
-            $end->format('n') - 1,
153
+            $end->format('n')-1,
154 154
             $end->format('Y'));
155 155
     }
156 156
 
Please login to merge, or discard this patch.