@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * |
| 40 | 40 | * @throws Radowoj\Yaah\Exception on failure |
| 41 | 41 | * |
| 42 | - * @param Radowoj\Yaah\Auction $auction Auction to create |
|
| 42 | + * @param Auction $auction Auction to create |
|
| 43 | 43 | * @return $itemId - id of created |
| 44 | 44 | */ |
| 45 | 45 | public function newAuction(Auction $auction) |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | $data = $this->client->getSellFormFieldsForCategory(['categoryId' => $idCategory]); |
| 24 | 24 | $items = $data->sellFormFieldsForCategory->sellFormFieldsList->item; |
| 25 | 25 | |
| 26 | - return array_map(function ($item) { |
|
| 26 | + return array_map(function($item) { |
|
| 27 | 27 | return [ |
| 28 | 28 | 'fid' => $item->sellFormId, |
| 29 | 29 | 'title' => $item->sellFormTitle, |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function finishAuctions(array $auctionIds, $cancelAllBids = 0, $finishCancelReason = '') |
| 79 | 79 | { |
| 80 | - $finishItemsList = array_map(function ($auctionId) use ($cancelAllBids, $finishCancelReason) { |
|
| 80 | + $finishItemsList = array_map(function($auctionId) use ($cancelAllBids, $finishCancelReason) { |
|
| 81 | 81 | return [ |
| 82 | 82 | 'finishItemId' => $auctionId, |
| 83 | 83 | 'finishCancelAllBids' => $cancelAllBids, |