Completed
Push — master ( 28284e...eaa9bf )
by
unknown
12:07
created
app/Listeners/Observers/SubCategoryObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * Fields for unset.
64 64
      *
65
-     * @return array
65
+     * @return string[]
66 66
      */
67 67
     public function getUnsetFields()
68 68
     {
Please login to merge, or discard this patch.
app/Listeners/Observers/VendorsObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * Fields for unset.
55 55
      *
56
-     * @return array
56
+     * @return string[]
57 57
      */
58 58
     public function getUnsetFields()
59 59
     {
Please login to merge, or discard this patch.
app/Listeners/ViewPostHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Check if post was viewed user.
58 58
      *
59
-     * @param $post
59
+     * @param \App\Post $post
60 60
      * @return bool
61 61
      */
62 62
     private function isPostViewed($post)
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * Push item to session as viewed post.
71 71
      *
72
-     * @param $post
72
+     * @param \App\Post $post
73 73
      * @return void.
74 74
      */
75 75
     private function storePost($post)
Please login to merge, or discard this patch.
app/Repositories/ImprovedSpecRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     /**
18 18
      * @param $product_id
19
-     * @return static
19
+     * @return ImprovedSpec
20 20
      */
21 21
     public function createPlain($product_id, $spec_id = null)
22 22
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * 
69 69
      * @param $spec
70 70
      * @param array $data
71
-     * @return mixed
71
+     * @return ImprovedSpec
72 72
      */
73 73
     public function create(array $data, $specPrice)
74 74
     {
Please login to merge, or discard this patch.
app/Repositories/InvolvedRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * 
46 46
      * @param Involved $involve
47 47
      * @param array $data
48
-     * @return $this
48
+     * @return Involved
49 49
      */
50 50
     public function update(Involved $involve, array $data)
51 51
     {
Please login to merge, or discard this patch.
app/Repositories/LotDeliveryPaymentRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 class LotDeliveryPaymentRepository extends Repository
8 8
 {
9 9
     /**
10
-     * @return Banner
10
+     * @return LotDeliveryPayment
11 11
      */
12 12
     public function getModel()
13 13
     {
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      * Get ad-blocks for extended banners block.
19 19
      *
20 20
      * @param $count
21
-     * @return mixed
21
+     * @return boolean
22 22
      */
23 23
     public function save($lot, array $data)
24 24
     {
Please login to merge, or discard this patch.
app/Repositories/LotRepository.php 1 patch
Doc Comments   +10 added lines, -7 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      * Create plain lot for attached items to him.
21 21
      *
22 22
      * @param Vendor $vendor
23
-     * @return mixed
23
+     * @return Lot
24 24
      */
25 25
     public function createDraft(Vendor $vendor)
26 26
     {
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Add empty lot or modify just existed (drafted)..
51 51
      *
52
-     * @param $vendor
53
-     * @return Lot|mixed
52
+     * @param Vendor $vendor
53
+     * @return Lot
54 54
      */
55 55
     public function addLot($vendor)
56 56
     {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Get user's lots.
83 83
      *
84
-     * @param $user
84
+     * @param \Illuminate\Contracts\Auth\Authenticatable|null $user
85 85
      * @param $perPage
86 86
      * @return \Illuminate\Support\Collection|null
87 87
      */
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * Delete lot.
132 132
      *
133
-     * @param $lot
133
+     * @param Lot $lot
134 134
      */
135 135
     public function delete($lot)
136 136
     {
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * Convert string date to \Carbon/Carbon timestamp.
148 148
      *
149 149
      * @param $date
150
-     * @return static
150
+     * @return Carbon
151 151
      */
152 152
     public function dateToTimestamp($date)
153 153
     {
@@ -181,6 +181,9 @@  discard block
 block discarded – undo
181 181
         return $new_date;
182 182
     }
183 183
 
184
+    /**
185
+     * @param Lot $lot
186
+     */
184 187
     public function save($lot, array $data)
185 188
     {
186 189
         $lot->fill([
@@ -202,7 +205,7 @@  discard block
 block discarded – undo
202 205
     /**
203 206
      * Change category.
204 207
      *
205
-     * @param $lot
208
+     * @param Lot $lot
206 209
      * @param $category_id
207 210
      *
208 211
      * @return void
Please login to merge, or discard this patch.
app/Repositories/MethodDeliveryPaymentRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
      * Get public posts.
28 28
      *
29 29
      * @param $perPage
30
+     * @param string $type
30 31
      * @return \Illuminate\Database\Eloquent\Collection
31 32
      */
32 33
     public function getPublic($type)
Please login to merge, or discard this patch.
app/Repositories/ModelColorsRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
         return $color;
39 39
     }
40 40
 
41
+    /**
42
+     * @param integer $slug
43
+     */
41 44
     public function find($slug)
42 45
     {
43 46
         if (is_numeric($slug))
Please login to merge, or discard this patch.