Browse Source

fix Form Field label&value phpdoc

Paweł Bukowski 3 years ago
parent
commit
fc75dd2301
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Form/Field.php

+ 2 - 2
src/Form/Field.php

@@ -537,7 +537,7 @@ class Field implements Renderable
     /**
      * Set or get value of the field.
      *
-     * @param  null  $value
+     * @param  mixed|null  $value
      * @return mixed|$this
      */
     public function value($value = null)
@@ -640,7 +640,7 @@ class Field implements Renderable
     /**
      * Get or set label of the field.
      *
-     * @param  null  $label
+     * @param  mixed|null  $label
      * @return $this|string
      */
     public function label($label = null)