Passed
Push — master ( cb5c62...93009f )
by Radosław
02:21
created
src/Helper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
         $items = $data->sellFormFieldsForCategory->sellFormFieldsList->item;
30 30
 
31
-        return array_map(function ($item) {
31
+        return array_map(function($item) {
32 32
             return [
33 33
                 'fid' => $item->sellFormId,
34 34
                 'title' => $item->sellFormTitle,
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public function finishAuctions(array $auctionIds, $cancelAllBids = 0, $finishCancelReason = '')
88 88
     {
89
-        $finishItemsList = array_map(function ($auctionId) use ($cancelAllBids, $finishCancelReason) {
89
+        $finishItemsList = array_map(function($auctionId) use ($cancelAllBids, $finishCancelReason) {
90 90
             return [
91 91
                 'finishItemId' => $auctionId,
92 92
                 'finishCancelAllBids' => $cancelAllBids,
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function getAuctionByItemId($itemId)
136 136
     {
137
-        $response =  $this->client->doGetItemFields(['itemId' => $itemId]);
137
+        $response = $this->client->doGetItemFields(['itemId' => $itemId]);
138 138
         if (isset($response->itemFields->item)) {
139 139
             $auction = new Auction();
140 140
             $auction->fromApiRepresentation($response->itemFields->item);
Please login to merge, or discard this patch.