Completed
Pull Request — master (#2381)
by leo
03:33
created
src/Grid/Displayers/Actions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -108,6 +108,7 @@
 block discarded – undo
108 108
 
109 109
     /**
110 110
      * {@inheritdoc}
111
+     * @param \Closure $callback
111 112
      */
112 113
     public function display($callback = null)
113 114
     {
Please login to merge, or discard this patch.
src/Traits/ModelTree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
     /**
230 230
      * Get options for Select field in form.
231 231
      *
232
-     * @return \Illuminate\Support\Collection
232
+     * @return callable
233 233
      */
234 234
     public static function selectOptions()
235 235
     {
Please login to merge, or discard this patch.
src/Tree.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,6 @@
 block discarded – undo
282 282
     /**
283 283
      * Return all items of the tree.
284 284
      *
285
-     * @param array $items
286 285
      */
287 286
     public function getItems()
288 287
     {
Please login to merge, or discard this patch.
src/Tree/Tools.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
     /**
27 27
      * Create a new Tools instance.
28 28
      *
29
-     * @param Builder $builder
30 29
      */
31 30
     public function __construct(Tree $tree)
32 31
     {
Please login to merge, or discard this patch.
src/Auth/Database/HasPermissions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Get all permissions of user.
57 57
      *
58
-     * @return mixed
58
+     * @return Collection
59 59
      */
60 60
     public function allPermissions() : Collection
61 61
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Check if user is administrator.
99 99
      *
100
-     * @return mixed
100
+     * @return boolean
101 101
      */
102 102
     public function isAdministrator() : bool
103 103
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param string $role
111 111
      *
112
-     * @return mixed
112
+     * @return boolean
113 113
      */
114 114
     public function isRole(string $role) : bool
115 115
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @param array $roles
123 123
      *
124
-     * @return mixed
124
+     * @return boolean
125 125
      */
126 126
     public function inRoles(array $roles = []) : bool
127 127
     {
Please login to merge, or discard this patch.
src/Grid.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * Get or set option for grid.
229 229
      *
230 230
      * @param string $key
231
-     * @param mixed  $value
231
+     * @param boolean  $value
232 232
      *
233 233
      * @return $this|mixed
234 234
      */
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     /**
359 359
      * Get the grid paginator.
360 360
      *
361
-     * @return mixed
361
+     * @return Tools\Paginator
362 362
      */
363 363
     public function paginator()
364 364
     {
@@ -722,7 +722,7 @@  discard block
 block discarded – undo
722 722
      *
723 723
      * @param Closure|null $closure
724 724
      *
725
-     * @return $this|Tools\Footer
725
+     * @return callable
726 726
      */
727 727
     public function footer(Closure $closure = null)
728 728
     {
Please login to merge, or discard this patch.
src/Grid/Filter/Presenter/Select.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
      *
169 169
      * @param string $target
170 170
      *
171
-     * @return mixed
171
+     * @return string
172 172
      */
173 173
     protected function getClass($target) : string
174 174
     {
Please login to merge, or discard this patch.
src/Grid/Filter/AbstractFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -331,7 +331,7 @@
 block discarded – undo
331 331
      *
332 332
      * @param Presenter $presenter
333 333
      *
334
-     * @return mixed
334
+     * @return Presenter
335 335
      */
336 336
     protected function setPresenter(Presenter $presenter)
337 337
     {
Please login to merge, or discard this patch.
src/Form/Field/Select.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
      *
39 39
      * @param array|callable|string $options
40 40
      *
41
-     * @return $this|mixed
41
+     * @return Select
42 42
      */
43 43
     public function options($options = [])
44 44
     {
Please login to merge, or discard this patch.