@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | /** |
313 | 313 | * Assign value posted from form submission |
314 | 314 | * |
315 | - * @param mixed $value |
|
315 | + * @param string $value |
|
316 | 316 | * @param mixed $data |
317 | 317 | * @return $this |
318 | 318 | */ |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | * |
338 | 338 | * When $html5=true, assign value from ISO 8601 string. |
339 | 339 | * |
340 | - * @param mixed $value |
|
340 | + * @param string $value |
|
341 | 341 | * @param mixed $data |
342 | 342 | * @return $this |
343 | 343 | */ |
@@ -135,7 +135,7 @@ discard block |
||
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 |
||
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 |
||
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 | */ |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | * Tidy up the internal date representation (ISO 8601), |
395 | 395 | * and fall back to strtotime() if there's parsing errors. |
396 | 396 | * |
397 | - * @param string $date Date in ISO 8601 or approximate form |
|
397 | + * @param string $datetime |
|
398 | 398 | * @return string ISO 8601 date, or null if not valid |
399 | 399 | */ |
400 | 400 | public function tidyInternal($datetime) |
@@ -489,6 +489,9 @@ discard block |
||
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); |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | /** |
251 | 251 | * Assign value posted from form submission |
252 | 252 | * |
253 | - * @param mixed $value |
|
253 | + * @param string $value |
|
254 | 254 | * @param mixed $data |
255 | 255 | * @return $this |
256 | 256 | */ |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | /** |
268 | 268 | * Set time assigned from database value |
269 | 269 | * |
270 | - * @param mixed $value |
|
270 | + * @param string $value |
|
271 | 271 | * @param mixed $data |
272 | 272 | * @return $this |
273 | 273 | */ |