Completed
Push — master ( 28284e...eaa9bf )
by
unknown
12:07
created
app/Http/Controllers/Auth/VerifyUserController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Illuminate\Contracts\Events\Dispatcher;
10 10
 use App\Http\Controllers\Controller;
11 11
 use Auth;
12
-use Log;
13 12
 
14 13
 class VerifyUserController extends Controller
15 14
 {
Please login to merge, or discard this patch.
app/Http/Controllers/CategoriesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App\Category;
6 6
 use App\Lot;
7
-use App\Product;
8 7
 use App\Repositories\CategoryRepository;
9 8
 use App\Repositories\TagRepository;
10 9
 use Illuminate\Http\Request;
Please login to merge, or discard this patch.
app/Http/Controllers/DashboardController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Repositories\LotRepository;
7 7
 use App\Repositories\ProfileRepository;
8 8
 use App\Repositories\InvolvedRepository;
9
-use Carbon\Carbon;
10 9
 use Illuminate\Contracts\Auth\Guard;
11 10
 use App\Http\Requests\UpdateUserSettings;
12 11
 use App\Http\Requests\UpdateUserPassword;
Please login to merge, or discard this patch.
app/Http/Controllers/LotsController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,6 @@
 block discarded – undo
16 16
 use Illuminate\Contracts\Auth\Guard;
17 17
 use Illuminate\Http\Request;
18 18
 
19
-use App\Http\Requests;
20
-
21 19
 class LotsController extends Controller
22 20
 {
23 21
     /**
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             'sub_category' => $sub_category,
148 148
             'respons'      => true
149 149
         );
150
-         return response($json);
150
+            return response($json);
151 151
     }
152 152
 
153 153
     /**
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      */
232 232
     public function index()
233 233
     {
234
-       /* dd(Lot::all());*/
234
+        /* dd(Lot::all());*/
235 235
     }
236 236
 
237 237
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/PagesController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 use App\Repositories\LotRepository;
7 7
 use App\Repositories\ProductsRepository;
8 8
 use App\Repositories\PagesRepository;
9
-use App\Repositories\VendorRepository;
10
-use Illuminate\Http\Request;
11 9
 
12 10
 class PagesController extends Controller
13 11
 {
Please login to merge, or discard this patch.
app/Http/Controllers/ProductsController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use App\Http\Requests\ProductCreateRequest;
6
-use App\Http\Requests\ProductUpdateRequest;
7 5
 use App\Http\Requests\SaveProductRequest;
8 6
 use App\Image;
9 7
 use App\ImprovedSpec;
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                 $this->addImage($image, $product);
119 119
             });
120 120
 
121
-       /* if (!empty($specs = $request->get('i_spec')))
121
+        /* if (!empty($specs = $request->get('i_spec')))
122 122
             $this->saveImprovedSpecifications($specs, $product);*/
123 123
 
124 124
         $json = array(
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         //dd($request->get('spec_price'));
251 251
         //dd(collect($request->get('spec_price'))->first());
252 252
         //$collection = $request->get('spec_price');
253
-       /* $collection = collect($request->get('spec_price'));
253
+        /* $collection = collect($request->get('spec_price'));
254 254
         $filtered = $collection->filter(function ($item) {
255 255
             return $item['new_price'] != '' && $item['old_price'] != '';
256 256
         })->values();
Please login to merge, or discard this patch.
app/Http/Controllers/UsersController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use App\Repositories\InvolvedRepository;
8 8
 use App\Repositories\LotRepository;
9 9
 use App\Repositories\SpecPriceRepository;
10
-use Illuminate\Http\Request;
11 10
 
12 11
 class UsersController extends Controller
13 12
 {
Please login to merge, or discard this patch.
app/Http/Requests/InvolveProductRequest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Requests;
4 4
 
5 5
 use App\Repositories\InvolvedRepository;
6
-use Illuminate\Support\Facades\Auth;
7 6
 
8 7
 class InvolveProductRequest extends Request
9 8
 {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function authorize()
14 14
     {
15 15
         $product = $this->route()->getParameter('product');
16
-       /* if ($product) {
16
+        /* if ($product) {
17 17
             if (! $this->getInvolvedRepository()->checkIfAuthInvolved($product))
18 18
                 return true;
19 19
         }*/
Please login to merge, or discard this patch.
app/Http/ViewComposers/HomePageComposer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\ViewComposers;
4 4
 
5
-use App\Product;
6 5
 use App\Repositories\CategoryRepository;
7 6
 use App\Repositories\PostsRepository;
8 7
 use App\Repositories\ProductsRepository;
Please login to merge, or discard this patch.