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 1 patch
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.
app/Http/Controllers/CategoriesController.php 1 patch
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.
app/Http/Controllers/ProductsController.php 1 patch
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.
app/Http/ViewComposers/PagesComposer.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/Libraries/Metaable/HasMeta.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @param $key
36 36
      * @param $value
37
-     * @param null $group
37
+     * @param string $group
38 38
      * @return mixed
39 39
      */
40 40
     public function setMeta($meta_data, $group = null)
@@ -111,6 +111,10 @@  discard block
 block discarded – undo
111 111
             $this->getRepository()->removeByKey($key);
112 112
         }
113 113
     }
114
+
115
+    /**
116
+     * @param string $group
117
+     */
114 118
     public function removeMetaGroupById($group=null, $id=null)
115 119
     {
116 120
         if ($id!=null) {
Please login to merge, or discard this patch.
app/Libraries/Metaable/Repository.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Create meta.
19 19
      * 
20
-     * @param $metaable
20
+     * @param HasMeta $metaable
21 21
      * @param $key
22 22
      * @param $value
23 23
      * @param $group
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Remove by id.
54 54
      *
55
-     * @param $id
55
+     * @param integer $id
56 56
      * @return mixed
57 57
      */
58 58
     public function removeById($id)
@@ -68,6 +68,10 @@  discard block
 block discarded – undo
68 68
             ->first()
69 69
             ->delete();
70 70
     }
71
+
72
+    /**
73
+     * @param integer $id
74
+     */
71 75
     public function removeGroupById($group, $id)
72 76
     {
73 77
         return self::getModel()
Please login to merge, or discard this patch.
app/Libraries/MetaablePrice/Repository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Create meta.
19 19
      * 
20
-     * @param $metaable
20
+     * @param HasMeta $metaable
21 21
      * @param $key
22 22
      * @param $value
23 23
      * @param $group
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * Remove by id.
53 53
      *
54
-     * @param $id
54
+     * @param integer $id
55 55
      * @return mixed
56 56
      */
57 57
     public function removeById($id)
Please login to merge, or discard this patch.