From: Matthias Schmidt Date: Sun, 26 Jan 2020 08:11:23 +0000 (+0100) Subject: Update documentation of DateFormField::supportsTime() X-Git-Tag: 5.2.2~37 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5fe1f4ef930b98094dfd543e28ef5be64daf1618;p=GitHub%2FWoltLab%2FWCF.git Update documentation of DateFormField::supportsTime() --- 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() {