Completed
Push — master ( 6162b5...7f4a32 )
by wen
12:44
created
src/Form/Elements/Input.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
         return $this->size;
21 21
     }
22 22
 
23
+    /**
24
+     * @param string $value
25
+     */
23 26
     public function setSize($value)
24 27
     {
25 28
         $this->size = $value;
Please login to merge, or discard this patch.
src/Console/ComponentMakeCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -215,6 +215,9 @@  discard block
 block discarded – undo
215 215
         return $model;
216 216
     }
217 217
 
218
+    /**
219
+     * @param string $model
220
+     */
218 221
     protected function getViewColumns($model)
219 222
     {
220 223
         $columns = $this->getTableColumns($model);
@@ -249,6 +252,9 @@  discard block
 block discarded – undo
249 252
         return $this->columnTypeMappings[$name] ?? 'text';
250 253
     }
251 254
 
255
+    /**
256
+     * @param string $model
257
+     */
252 258
     protected function getFormElements($model)
253 259
     {
254 260
         $columns = $this->getTableColumns($model);
Please login to merge, or discard this patch.
src/Traits/UploadStorageTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @param \Illuminate\Http\UploadedFile $file
76 76
      *
77
-     * @return \Closure|mixed|null|string
77
+     * @return string
78 78
      */
79 79
     public function getUploadPath(UploadedFile $file)
80 80
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      *
108 108
      * @param \Illuminate\Http\UploadedFile $file
109 109
      *
110
-     * @return mixed|string
110
+     * @return string
111 111
      */
112 112
     public function getUploadFileName(UploadedFile $file)
113 113
     {
Please login to merge, or discard this patch.
src/Http/Controllers/LoginController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      *
101 101
      * @param  Request $request
102 102
      *
103
-     * @return \Illuminate\Http\Response
103
+     * @return \Illuminate\Http\RedirectResponse
104 104
      */
105 105
     public function logout(Request $request)
106 106
     {
Please login to merge, or discard this patch.
src/Component/Concerns/HasAccess.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Check if the entity have access to delete.
73 73
      *
74
-     * @return mixed
74
+     * @return boolean
75 75
      */
76 76
     public function isDelete()
77 77
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * Get the observable ability names.
132 132
      *
133
-     * @return array
133
+     * @return string[]
134 134
      */
135 135
     public function getObservableAbilities()
136 136
     {
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * register ability to access.
148 148
      *
149 149
      * @param string $ability
150
-     * @param string|\Closure $callback
150
+     * @param string $callback
151 151
      */
152 152
     public function registerAbility($ability, $callback)
153 153
     {
Please login to merge, or discard this patch.
src/Display/Columns/Column.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -221,6 +221,10 @@
 block discarded – undo
221 221
         return $this->getValueFromObject($this->getModel(), $this->getName());
222 222
     }
223 223
 
224
+    /**
225
+     * @param Model $instance
226
+     * @param string $name
227
+     */
224 228
     protected function getValueFromObject($instance, $name)
225 229
     {
226 230
         $parts = explode('.', $name);
Please login to merge, or discard this patch.
src/Form/Elements/BaseFile.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -267,6 +267,9 @@
 block discarded – undo
267 267
         ];
268 268
     }
269 269
 
270
+    /**
271
+     * @param string $rule
272
+     */
270 273
     public function addValidationRule($rule, $message = null)
271 274
     {
272 275
         $uploadRules = [
Please login to merge, or discard this patch.