Completed
Push — master ( d39d8c...23993f )
by Radosław
01:45
created
src/AuctionHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         $data = $this->client->getSellFormFieldsForCategory(['categoryId' => $idCategory]);
18 18
         $items = $data->sellFormFieldsForCategory->sellFormFieldsList->item;
19 19
 
20
-        return array_map(function ($item) {
20
+        return array_map(function($item) {
21 21
             return [
22 22
                 'fid' => $item->sellFormId,
23 23
                 'title' => $item->sellFormTitle,
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     public function finishAuctions(array $auctionIds, $cancelAllBids = 0, $finishCancelReason = '')
52 52
     {
53
-        $finishItemsList = array_map(function ($auctionId) use ($cancelAllBids, $finishCancelReason) {
53
+        $finishItemsList = array_map(function($auctionId) use ($cancelAllBids, $finishCancelReason) {
54 54
             return [
55 55
                 'finishItemId' => $auctionId,
56 56
                 'finishCancelAllBids' => $cancelAllBids,
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $requiredParams = ['apiKey', 'login', 'passwordHash', 'isSandbox', 'countryCode'];
43 43
 
44
-        foreach($requiredParams as $property) {
44
+        foreach ($requiredParams as $property) {
45 45
             if (!array_key_exists($property, $params)) {
46 46
                 throw new Exception("{$property} is required in params array");
47 47
             }
Please login to merge, or discard this patch.
src/Auction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         $fields = [];
45 45
 
46
-        foreach($this->fields as $fid => $value) {
46
+        foreach ($this->fields as $fid => $value) {
47 47
             $fields[] = (new Field($fid, $value))->toArray();
48 48
         }
49 49
 
Please login to merge, or discard this patch.