Completed
Push — master ( 5cf71c...089e3e )
by Christian
25:46 queued 15:50
created
src/MWSOrders.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
         $this->client = $client;
14 14
     }
15 15
 
16
-    public function list($params = [])
16
+    public function list($params = [ ])
17 17
     {
18 18
         //TODO
19 19
     }
@@ -21,11 +21,11 @@  discard block
 block discarded – undo
21 21
     public function get($ids)
22 22
     {
23 23
         $ids = is_array($ids) ? $ids : func_get_args();
24
-        $params = [];
24
+        $params = [ ];
25 25
 
26 26
         foreach ($ids as $key => $id) {
27 27
             $keyName = 'AmazonOrderId.Id.'.($key + 1);
28
-            $params[$keyName] = $id;
28
+            $params[ $keyName ] = $id;
29 29
         }
30 30
 
31 31
         $response = $this->client->post('GetOrder', '/Orders/'.self::VERSION, self::VERSION, $params);
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
         ];
53 53
 
54 54
         if ($nextToken) {
55
-            $data['next_token'] = $nextToken;
55
+            $data[ 'next_token' ] = $nextToken;
56 56
         }
57 57
 
58 58
         if ($resultTypeName == 'ListOrderItemsResult') {
59
-            $data['order_id'] = data_get($response, $resultTypeName.'.AmazonOrderId');
59
+            $data[ 'order_id' ] = data_get($response, $resultTypeName.'.AmazonOrderId');
60 60
         }
61 61
 
62 62
         return $data;
Please login to merge, or discard this patch.