@@ -17,7 +17,7 @@ discard block |
||
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 |
||
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, |
@@ -41,7 +41,7 @@ |
||
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 | } |
@@ -43,7 +43,7 @@ |
||
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 |