Completed
Pull Request — master (#3979)
by
unknown
07:34
created
src/Form/Layout/Layout.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Remove reserved fields from form layout.
91 91
      *
92
-     * @param array $fields
92
+     * @param string[] $fields
93 93
      */
94 94
     public function removeReservedFields(array $fields)
95 95
     {
Please login to merge, or discard this patch.
src/Form/NestedForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@
 block discarded – undo
360 360
     /**
361 361
      * Get the html and script of template.
362 362
      *
363
-     * @return array
363
+     * @return string[]
364 364
      */
365 365
     public function getTemplateHtmlAndScript()
366 366
     {
Please login to merge, or discard this patch.
src/Grid.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      * Get or set option for grid.
270 270
      *
271 271
      * @param string $key
272
-     * @param mixed  $value
272
+     * @param boolean  $value
273 273
      *
274 274
      * @return $this|mixed
275 275
      */
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
     /**
455 455
      * Get the grid paginator.
456 456
      *
457
-     * @return mixed
457
+     * @return Tools\Paginator
458 458
      */
459 459
     public function paginator()
460 460
     {
@@ -542,7 +542,7 @@  discard block
 block discarded – undo
542 542
     }
543 543
 
544 544
     /**
545
-     * @return array|Collection|mixed
545
+     * @return Collection
546 546
      */
547 547
     protected function applyQuery()
548 548
     {
@@ -861,7 +861,7 @@  discard block
 block discarded – undo
861 861
     /**
862 862
      * Dynamically add columns to the grid view.
863 863
      *
864
-     * @param $method
864
+     * @param string $method
865 865
      * @param $arguments
866 866
      *
867 867
      * @return Column
Please login to merge, or discard this patch.
src/Grid/Column.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     /**
356 356
      * Get name of this column.
357 357
      *
358
-     * @return mixed
358
+     * @return string
359 359
      */
360 360
     public function getName()
361 361
     {
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
     /**
394 394
      * Get label of the column.
395 395
      *
396
-     * @return mixed
396
+     * @return string
397 397
      */
398 398
     public function getLabel()
399 399
     {
Please login to merge, or discard this patch.
src/Grid/Column/HasHeader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *
44 44
      * @param string $cast
45 45
      *
46
-     * @return Column|string
46
+     * @return HasHeader
47 47
      */
48 48
     protected function addSorter($cast = null)
49 49
     {
Please login to merge, or discard this patch.
src/Grid/Column/InputFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * Add a binding to the query.
28 28
      *
29 29
      * @param string     $value
30
-     * @param Model|null $model
30
+     * @param Model $model
31 31
      */
32 32
     public function addBinding($value, Model $model)
33 33
     {
Please login to merge, or discard this patch.
src/Grid/Concerns/CanHidesColumns.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     /**
47 47
      * Setting default shown columns on grid.
48 48
      *
49
-     * @param array|string $columns
49
+     * @param string $columns
50 50
      *
51 51
      * @return $this
52 52
      */
Please login to merge, or discard this patch.
src/Grid/Concerns/HasActions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Set grid action callback.
26 26
      *
27
-     * @param Closure|string $actions
27
+     * @param Closure $actions
28 28
      *
29 29
      * @return $this
30 30
      */
Please login to merge, or discard this patch.
src/Grid/Concerns/HasElementNames.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
     /**
111
+     * @param string $name
111 112
      * @return string
112 113
      */
113 114
     protected function elementNameWithPrefix($name)
Please login to merge, or discard this patch.