From 5fe1f4ef930b98094dfd543e28ef5be64daf1618 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 26 Jan 2020 09:11:23 +0100 Subject: [PATCH] Update documentation of DateFormField::supportsTime() --- .../lib/system/form/builder/field/DateFormField.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php index 798aae99ad..2e529a48d1 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php @@ -255,7 +255,7 @@ class DateFormField extends AbstractFormField implements IAutoFocusFormField, II /** * Sets if not only the date, but also the time can be set. - * + * * @param bool $supportsTime * @return static this field */ @@ -269,6 +269,8 @@ class DateFormField extends AbstractFormField implements IAutoFocusFormField, II * Returns `true` if not only the date, but also the time can be set, and * returns `false` otherwise. * + * By default, the time cannot be set. + * * @return bool */ public function supportsTime() { -- 2.20.1