Completed
Push — master ( 28284e...eaa9bf )
by
unknown
12:07
created
app/Http/ViewComposers/BannerComposer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param View $view
26
-     * @return $this
26
+     * @return View|null
27 27
      */
28 28
     public function compose(View $view)
29 29
     {
Please login to merge, or discard this patch.
app/Repositories/BannerRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Get ad-blocks for extended banners block.
19 19
      *
20
-     * @param $count
20
+     * @param integer $count
21 21
      * @return mixed
22 22
      */
23 23
     public function getBigAdBlocks($count = null)
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Get small adblocks for homepage.
34 34
      *
35
-     * @param null $count
35
+     * @param integer $count
36 36
      * @return mixed
37 37
      */
38 38
     public function getSmallAdBlocks($count = null)
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Get adblocks for right sidebar of homepage.
49 49
      *
50
-     * @param null $count
50
+     * @param integer $count
51 51
      * @return mixed
52 52
      */
53 53
     public function getRightSideBarAdBlocks($count = null)
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/VerifyUserController.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
      * @param Request $request
41 41
      * @param $code
42
-     * @return mixed
42
+     * @return \Illuminate\Http\RedirectResponse|null
43 43
      */
44 44
     public function confirm(Request $request, $code)
45 45
     {
Please login to merge, or discard this 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 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
      * Get list of unchanged/static filters.
41 41
      *
42
-     * @return array
42
+     * @return string[]
43 43
      */
44 44
     final static public function getStaticFilters()
45 45
     {
Please login to merge, or discard this 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 1 patch
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.
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
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * @param SaveProductRequest $request
103 103
      * @param Product $product
104
-     * @return mixed
104
+     * @return \Symfony\Component\HttpFoundation\Response
105 105
      */
106 106
     public function save(SaveProductRequest $request, Lot $lot, Product $product)
107 107
     {
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      * @param Request $request
209 209
      * @param Lot $lot
210 210
      *
211
-     * @return string
211
+     * @return \Symfony\Component\HttpFoundation\Response
212 212
      */
213 213
     public function remove(Request $request, Lot $lot)
214 214
     {
@@ -245,6 +245,9 @@  discard block
 block discarded – undo
245 245
     }
246 246
 
247 247
 
248
+    /**
249
+     * @param SaveProductRequest $request
250
+     */
248 251
     private function saveSpecificationsPrice($request, Product $product)
249 252
     {
250 253
         //dd($request->get('spec_price'));
@@ -299,7 +302,7 @@  discard block
 block discarded – undo
299 302
      *
300 303
      * @param Request $request
301 304
      *
302
-     * @return void
305
+     * @return \Symfony\Component\HttpFoundation\Response
303 306
      */
304 307
     public function removeSpec(Request $request)
305 308
     {
@@ -340,7 +343,7 @@  discard block
 block discarded – undo
340 343
      * @param $image
341 344
      * @param Product $product
342 345
      *
343
-     * @return mixed
346
+     * @return Image|null
344 347
      */
345 348
     public function addImage($image, Product $product)
346 349
     {
Please login to merge, or discard this patch.
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.
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.