Completed
Push — master ( 768836...f2fcb0 )
by Song
02:47 queued 11s
created
src/Form/Field.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
      *
287 287
      * @param string $column
288 288
      *
289
-     * @return mixed|string
289
+     * @return string
290 290
      */
291 291
     protected function formatColumn($column = '')
292 292
     {
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
     }
600 600
 
601 601
     /**
602
-     * @param string|array|Closure $input
602
+     * @param callable|null $input
603 603
      * @param string|array         $original
604 604
      *
605 605
      * @return array|Closure
@@ -810,7 +810,7 @@  discard block
 block discarded – undo
810 810
     /**
811 811
      * Set or get value of the field.
812 812
      *
813
-     * @param null $value
813
+     * @param string $value
814 814
      *
815 815
      * @return mixed
816 816
      */
@@ -981,7 +981,7 @@  discard block
 block discarded – undo
981 981
     /**
982 982
      * Add html attributes to elements.
983 983
      *
984
-     * @param array|string $attribute
984
+     * @param string $attribute
985 985
      * @param mixed        $value
986 986
      *
987 987
      * @return $this
@@ -1301,7 +1301,7 @@  discard block
 block discarded – undo
1301 1301
     /**
1302 1302
      * Set form group class.
1303 1303
      *
1304
-     * @param string|array $class
1304
+     * @param string[] $class
1305 1305
      *
1306 1306
      * @return $this
1307 1307
      */
@@ -1368,7 +1368,7 @@  discard block
 block discarded – undo
1368 1368
     }
1369 1369
 
1370 1370
     /**
1371
-     * @param array $labelClass
1371
+     * @param string[] $labelClass
1372 1372
      *
1373 1373
      * @return self
1374 1374
      */
@@ -1422,7 +1422,7 @@  discard block
 block discarded – undo
1422 1422
      *
1423 1423
      * @param string $view
1424 1424
      *
1425
-     * @return string
1425
+     * @return Field
1426 1426
      */
1427 1427
     public function setView($view): self
1428 1428
     {
Please login to merge, or discard this patch.
src/Form/Field/CanCascadeFields.php 2 patches
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
     /**
102 102
      * @param int $group
103
-     * @return array
103
+     * @return string[]
104 104
      * @throws \Exception
105 105
      */
106 106
     protected function getDependentsElementClass(int $group)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@
 block discarded – undo
88 88
      */
89 89
     protected function applyCascadeConditions()
90 90
     {
91
-        $this->form->fields()->filter(function (Form\Field $field) {
91
+        $this->form->fields()->filter(function(Form\Field $field) {
92 92
             return $field->isDependsOn($this);
93
-        })->each(function (Form\Field $field) {
93
+        })->each(function(Form\Field $field) {
94 94
             $group = Arr::get($field->getDependency(), 'group');
95 95
             $field->setGroupClass(
96 96
                 $this->getDependentsElementClass($group)
Please login to merge, or discard this patch.
src/Grid/Displayers/Expand.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,6 @@  discard block
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param int $multiple
46 45
      *
47 46
      * @return string
48 47
      */
@@ -80,6 +79,9 @@  discard block
 block discarded – undo
80 79
         Admin::script($script);
81 80
     }
82 81
 
82
+    /**
83
+     * @param boolean $isExpand
84
+     */
83 85
     protected function addScript($isExpand)
84 86
     {
85 87
         $script = <<<SCRIPT
Please login to merge, or discard this patch.
src/Grid/Displayers/Modal.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
     protected $renderable;
14 14
 
15 15
     /**
16
-     * @param int $multiple
17 16
      *
18 17
      * @return string
19 18
      */
Please login to merge, or discard this patch.