Passed
Push — master ( 18fd6e...a300cb )
by Radosław
02:30
created
src/AuctionHelper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.