Passed
Push — master ( d5a8e5...6b1038 )
by Radosław
02:27
created
src/Helper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
         $items = $data->sellFormFieldsForCategory->sellFormFieldsList->item;
31 31
 
32
-        return array_map(function ($item) {
32
+        return array_map(function($item) {
33 33
             return [
34 34
                 'fid' => $item->sellFormId,
35 35
                 'title' => $item->sellFormTitle,
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function finishAuctions(array $auctionIds, $cancelAllBids = 0, $finishCancelReason = '')
89 89
     {
90
-        $finishItemsList = array_map(function ($auctionId) use ($cancelAllBids, $finishCancelReason) {
90
+        $finishItemsList = array_map(function($auctionId) use ($cancelAllBids, $finishCancelReason) {
91 91
             return [
92 92
                 'finishItemId' => $auctionId,
93 93
                 'finishCancelAllBids' => $cancelAllBids,
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     {
123 123
         $response = $this->client->doGetSiteJournalDeals(['journalStart' => $journalStart]);
124 124
         if (isset($response->siteJournalDeals->item)) {
125
-            return array_map(function($deal){
125
+            return array_map(function($deal) {
126 126
                 return new Deal($deal);
127 127
             }, $response->siteJournalDeals->item);
128 128
         }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public function getAuctionByItemId($itemId)
139 139
     {
140
-        $response =  $this->client->doGetItemFields(['itemId' => $itemId]);
140
+        $response = $this->client->doGetItemFields(['itemId' => $itemId]);
141 141
         if (!isset($response->itemFields->item)) {
142 142
             throw new Exception('Invalid WebAPI response: ' . print_r($response, 1));
143 143
         }
Please login to merge, or discard this patch.