From 5c36e57fb5bb5afac1c5977199ba85a6b0a3804c Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Wed, 3 Jun 2020 16:54:18 +0200 Subject: [PATCH] Fix codestyle --- wcfsetup/install/files/lib/data/user/User.class.php | 2 +- wcfsetup/install/files/lib/data/user/UserAction.class.php | 3 +-- .../files/lib/system/condition/UserStateCondition.class.php | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index e2a4719fab..8cbe1a7818 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -35,7 +35,7 @@ use wcf\util\UserUtil; * @property-read string $banReason reason why the user is banned * @property-read integer $banExpires timestamp at which the banned user is automatically unbanned * @property-read integer $activationCode flag which determines, whether the user is activated (for legacy reasons an random integer, if the user is *not* activated) - * @property-read string $emailConfirmed code sent to the user's email address used for account activation + * @property-read string $emailConfirmed code sent to the user's email address used for account activation or null if the email is confirmed * @property-read integer $lastLostPasswordRequestTime timestamp at which the user has reported that they lost their password or 0 if password has not been reported as lost * @property-read string $lostPasswordKey code used for authenticating setting new password after password loss or empty if password has not been reported as lost * @property-read integer $lastUsernameChange timestamp at which the user changed their name the last time or 0 if username has not been changed diff --git a/wcfsetup/install/files/lib/data/user/UserAction.class.php b/wcfsetup/install/files/lib/data/user/UserAction.class.php index 9d011bf2a8..4495be499b 100644 --- a/wcfsetup/install/files/lib/data/user/UserAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserAction.class.php @@ -636,7 +636,6 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio /** * Marks the email address as confirmed. It also enables the user, iff the register method is user activation only. - * @since 5.3 */ public function confirmEmail() { @@ -658,7 +657,7 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio /** * Marks the email address as unconfirmed. - * @since 5.3 + * @since 5.3 */ public function unconfirmEmail() { if (empty($this->objects)) $this->readObjects(); diff --git a/wcfsetup/install/files/lib/system/condition/UserStateCondition.class.php b/wcfsetup/install/files/lib/system/condition/UserStateCondition.class.php index b2336559a3..98dd6d5b44 100644 --- a/wcfsetup/install/files/lib/system/condition/UserStateCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/UserStateCondition.class.php @@ -48,14 +48,14 @@ class UserStateCondition extends AbstractSingleFieldCondition implements IConten protected $userIsNotBanned = 0; /** - * true if the the user is be email confirmed + * true if the the user has confirmed their email address * * @var integer */ protected $userIsEmailConfirmed = 0; /** - * true if the the user is not be email confirmed + * true if the the user has not confirmed their email address * @var integer */ protected $userIsNotEmailConfirmed = 0; -- 2.20.1