Completed
Pull Request — master (#6870)
by Damian
07:43
created
src/Forms/DatetimeField.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @param $bool
138
+     * @param boolean $bool
139 139
      * @return $this
140 140
      */
141 141
     public function setHTML5($bool)
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      * Assign value posted from form submission, based on {@link $datetimeFormat}.
149 149
      * When $html5=true, this needs to be normalised ISO format (with "T" separator).
150 150
      *
151
-     * @param mixed $value
151
+     * @param string $value
152 152
      * @param mixed $data
153 153
      * @return $this
154 154
      */
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
      * When $html5=true, assign value from ISO 8601 normalised string (with a "T" separator).
315 315
      * Falls back to an ISO 8601 string (with a whitespace separator).
316 316
      *
317
-     * @param mixed $value
317
+     * @param string $value
318 318
      * @param mixed $data
319 319
      * @return $this
320 320
      */
@@ -489,6 +489,9 @@  discard block
 block discarded – undo
489 489
         return $this;
490 490
     }
491 491
 
492
+    /**
493
+     * @param boolean $bool
494
+     */
492 495
     public function setReadonly($bool)
493 496
     {
494 497
         parent::setReadonly($bool);
Please login to merge, or discard this patch.