@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | * Return a date formatted as per a CMS user's settings. |
249 | 249 | * |
250 | 250 | * @param Member $member |
251 | - * @return boolean | string A date formatted as per user-defined settings. |
|
251 | + * @return null|string | string A date formatted as per user-defined settings. |
|
252 | 252 | */ |
253 | 253 | public function FormatFromSettings($member = null) |
254 | 254 | { |
@@ -572,7 +572,7 @@ discard block |
||
572 | 572 | * Don't read this code without a drink in hand! |
573 | 573 | * |
574 | 574 | * @param string $value |
575 | - * @return array |
|
575 | + * @return string[] |
|
576 | 576 | */ |
577 | 577 | protected function explodeDateString($value) |
578 | 578 | { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * Return a date and time formatted as per a CMS user's settings. |
86 | 86 | * |
87 | 87 | * @param Member $member |
88 | - * @return boolean | string A time and date pair formatted as per user-defined settings. |
|
88 | + * @return null|string | string A time and date pair formatted as per user-defined settings. |
|
89 | 89 | */ |
90 | 90 | public function FormatFromSettings($member = null) |
91 | 91 | { |
@@ -26,6 +26,9 @@ |
||
26 | 26 | */ |
27 | 27 | const ISO_TIME = 'HH:mm:ss'; |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $value |
|
31 | + */ |
|
29 | 32 | public function setValue($value, $record = null, $markChanged = true) |
30 | 33 | { |
31 | 34 | $value = $this->parseTime($value); |