Completed
Push — master ( 453e3c...2f13e8 )
by Mahmoud
18:11 queued 11:11
created
app/Containers/Order/UI/API/Controllers/Controller.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param \App\Containers\Order\UI\API\Requests\ListStoreOrdersRequest $request
47
-     * @param \App\Containers\Order\Actions\ListStoreOrdersAction          $action
47
+     * @param ListOrdersAction          $action
48 48
      *
49 49
      * @return  \Dingo\Api\Http\Response
50 50
      */
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * @param \App\Containers\Order\UI\API\Requests\ListAllOrdersRequest $request
60
-     * @param \App\Containers\Order\Actions\ListAllOrdersAction          $action
60
+     * @param ListOrdersAction          $action
61 61
      *
62 62
      * @return  \Dingo\Api\Http\Response
63 63
      */
@@ -194,8 +194,8 @@  discard block
 block discarded – undo
194 194
     }
195 195
 
196 196
     /**
197
-     * @param \App\Containers\Order\UI\API\Controllers\DeleteOrderRequest $request
198
-     * @param \App\Containers\Order\UI\API\Controllers\DeleteOrderAction  $action
197
+     * @param DeleteOrderRequest $request
198
+     * @param DeleteOrderAction  $action
199 199
      *
200 200
      * @return  \Dingo\Api\Http\Response
201 201
      */
Please login to merge, or discard this patch.
Unused Use Statements   -9 removed lines patch added patch discarded remove patch
@@ -3,17 +3,9 @@  discard block
 block discarded – undo
3 3
 namespace App\Containers\Order\UI\API\Controllers;
4 4
 
5 5
 use App\Containers\Order\Actions\ApproveOrderAction;
6
-use App\Containers\Order\Actions\CalculateOrderAction;
7
-use App\Containers\Order\Actions\CreateArtworkSpecificationAction;
8
-use App\Containers\Order\Actions\CreateOrderTypeAction;
9 6
 use App\Containers\Order\Actions\DeleteOrderAction;
10 7
 use App\Containers\Order\Actions\FulFillOrderAction;
11 8
 use App\Containers\Order\Actions\GetOrderByIdAction;
12
-use App\Containers\Order\Actions\GetStoreOrdersAction;
13
-use App\Containers\Order\Actions\GetUserOrderAction;
14
-use App\Containers\Order\Actions\GetUserOrdersAction;
15
-use App\Containers\Order\Actions\ListAllArtworkSpecificationsAction;
16
-use App\Containers\Order\Actions\ListAllOrderTypesAction;
17 9
 use App\Containers\Order\Actions\ListOrdersAction;
18 10
 use App\Containers\Order\Actions\ListOrderStatusesAction;
19 11
 use App\Containers\Order\Actions\ListStoreOrdersAction;
@@ -26,7 +18,6 @@  discard block
 block discarded – undo
26 18
 use App\Containers\Order\UI\API\Requests\GetOrderByExternalIdRequest;
27 19
 use App\Containers\Order\UI\API\Requests\GetOrderByInternalIdRequest;
28 20
 use App\Containers\Order\UI\API\Requests\ListAllOrdersRequest;
29
-use App\Containers\Order\UI\API\Requests\ListAllUserOrdersRequest;
30 21
 use App\Containers\Order\UI\API\Requests\ListStoreOrdersRequest;
31 22
 use App\Containers\Order\UI\API\Requests\MakeOrderRequest;
32 23
 use App\Containers\Order\UI\API\Requests\UpdateOrderRequest;
Please login to merge, or discard this patch.
app/Containers/Order/UI/API/Requests/DeleteOrderRequest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
     /**
56 56
      * Determine if the store is authorized to make this request.
57 57
      *
58
-     * @param \Illuminate\Contracts\Auth\Access\Gate $gate
59 58
      *
60 59
      * @return bool
61 60
      */
Please login to merge, or discard this patch.
app/Containers/Order/UI/API/Requests/GetOrderByInternalIdRequest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@
 block discarded – undo
56 56
     /**
57 57
      * Determine if the user is authorized to make this request.
58 58
      *
59
-     * @param \Illuminate\Contracts\Auth\Access\Gate $gate
60 59
      *
61 60
      * @return bool
62 61
      */
Please login to merge, or discard this patch.
app/Containers/Order/UI/API/Requests/ListStoreOrdersRequest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
     /**
56 56
      * Determine if the user is authorized to make this request.
57 57
      *
58
-     * @param \Illuminate\Contracts\Auth\Access\Gate $gate
59 58
      *
60 59
      * @return bool
61 60
      */
Please login to merge, or discard this patch.
app/Containers/Order/UI/API/Transformers/OrderTransformer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
     ];
23 23
 
24 24
     /**
25
-     * @param \App\Containers\User\Models\User $user
26 25
      *
27 26
      * @return array
28 27
      */
Please login to merge, or discard this patch.
app/Containers/PrintJob/Actions/CreatePrintJobsAndArtworksAction.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use App\Containers\Artwork\Tasks\CreateArtworkTask;
6 6
 use App\Containers\Item\Tasks\FindItemBySkuTask;
7 7
 use App\Containers\Order\Models\Order;
8
-use App\Containers\Order\Tasks\CreateOrderImageTask;
9 8
 use App\Containers\PrintJob\Tasks\CreatePrintJobTask;
10 9
 use App\Containers\PrintJob\Tasks\GeneratePrintJobSkuTask;
11 10
 use App\Containers\PrintJob\Tasks\UpdatePrintJobTask;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             }
108 108
 
109 109
             // in case Item SKU was submitted instead of the Item ID, then find the ID form the SKU 
110
-            if (isset($itemData['item_sku']) && !isset($itemData['item_id']) ) {
110
+            if (isset($itemData['item_sku']) && !isset($itemData['item_id'])) {
111 111
                 $itemData['item_id'] = $this->findItemBySkuTask->run($itemData['item_sku']);
112 112
             }
113 113
 
Please login to merge, or discard this patch.
app/Containers/PrintJob/UI/API/Controllers/Controller.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -3,13 +3,6 @@
 block discarded – undo
3 3
 namespace App\Containers\PrintJob\UI\API\Controllers;
4 4
 
5 5
 use App\Containers\PrintJob\Actions\UpdatePrintJobStatusAction;
6
-use App\Containers\PrintJob\Actions\CreateArtworkSpecificationAction;
7
-use App\Containers\PrintJob\Actions\CreatePrintJobTypeAction;
8
-use App\Containers\PrintJob\Actions\GetStorePrintJobsAction;
9
-use App\Containers\PrintJob\Actions\GetUserPrintJobAction;
10
-use App\Containers\PrintJob\Actions\GetUserPrintJobsAction;
11
-use App\Containers\PrintJob\Actions\ListAllArtworkSpecificationsAction;
12
-use App\Containers\PrintJob\Actions\ListAllPrintJobTypesAction;
13 6
 use App\Containers\PrintJob\Actions\ListPrintJobsAction;
14 7
 use App\Containers\PrintJob\Actions\ListPrintJobStatusesAction;
15 8
 use App\Containers\PrintJob\Actions\UpdatePrintJobAction;
Please login to merge, or discard this patch.
PrintJob/UI/API/Tests/Functional/UpdatePrintJobStatusToCompleteTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use App;
6 6
 use App\Containers\Item\Tests\ItemTestHelpersTrait;
7 7
 use App\Containers\Order\Tests\Traits\OrderTestsTrait;
8
-use App\Containers\PrintJob\Models\ArtworkSpecification;
9 8
 use App\Containers\PrintJob\Models\PrintJob;
10 9
 use App\Containers\ShipHero\Tests\Traits\ShipHeroTestsTrait;
11 10
 use App\Containers\Shipment\Tests\Traits\ShipmentTestsTrait;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $order = $this->getTestingOrder($this->getTestingUser());
40 40
 
41 41
         // encoding the ID's before passing them
42
-        foreach ($order->printJobs->pluck('id') as $printJobId){
42
+        foreach ($order->printJobs->pluck('id') as $printJobId) {
43 43
             $ids[] = $this->encode($printJobId);
44 44
         }
45 45
 
Please login to merge, or discard this patch.
app/Containers/PrintJob/UI/API/Transformers/PrintJobTransformer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
     ];
23 23
 
24 24
     /**
25
-     * @param \App\Containers\User\Models\User $user
26 25
      *
27 26
      * @return array
28 27
      */
Please login to merge, or discard this patch.