Jelajahi Sumber

fix Form Field label&value phpdoc

Paweł Bukowski 3 tahun lalu
induk
melakukan
fc75dd2301
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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)