Completed
Push — master ( 1121c7...c4e7d6 )
by wen
13:05
created
src/Http/Controllers/Auth/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/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/Component/Concerns/HasAccess.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Get the observable ability names.
92 92
      *
93
-     * @return array
93
+     * @return string[]
94 94
      */
95 95
     public function getObservableAbilities()
96 96
     {
@@ -103,6 +103,10 @@  discard block
 block discarded – undo
103 103
         );
104 104
     }
105 105
 
106
+    /**
107
+     * @param string $ability
108
+     * @param string $callback
109
+     */
106 110
     public function registerAbility($ability, $callback)
107 111
     {
108 112
         $this->abilities->put($ability, $this->makeAbilityCallback($callback));
@@ -124,7 +128,7 @@  discard block
 block discarded – undo
124 128
     /**
125 129
      * @param string $ability
126 130
      *
127
-     * @return mixed
131
+     * @return boolean
128 132
      */
129 133
     final public function can($ability)
130 134
     {
Please login to merge, or discard this patch.
src/Component/Concerns/HasNavigation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     protected $priority = 100;
39 39
 
40 40
     /**
41
-     * @return mixed
41
+     * @return string
42 42
      */
43 43
     public function getPageId()
44 44
     {
Please login to merge, or discard this patch.
src/View/View.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         $this->extensions->initialize();
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $name
46
+     */
44 47
     public function extend($name, ExtensionInterface $extension)
45 48
     {
46 49
         $this->extensions->put($name, $extension);
Please login to merge, or discard this patch.
src/View/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/Traits/SelectOptionsFromModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     /**
86 86
      *
87
-     * @return array
87
+     * @return \Illuminate\Support\Collection
88 88
      */
89 89
     protected function setOptionsFromModel()
90 90
     {
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
@@ -148,6 +148,9 @@  discard block
 block discarded – undo
148 148
         );
149 149
     }
150 150
 
151
+    /**
152
+     * @param string $model
153
+     */
151 154
     protected function getViewColumns($model)
152 155
     {
153 156
         $columns = $this->getTableColumns($model);
@@ -182,6 +185,9 @@  discard block
 block discarded – undo
182 185
         return $this->columnTypeMappings[$name] ?? 'text';
183 186
     }
184 187
 
188
+    /**
189
+     * @param string $model
190
+     */
185 191
     protected function getFormElements($model)
186 192
     {
187 193
         $columns = $this->getTableColumns($model);
Please login to merge, or discard this patch.
src/Form/Elements/File.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.