From bfe26a943b09dfef64aabdc08c1a216351bc1e04 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 6 Mar 2018 18:09:45 +0100 Subject: [PATCH] Fix code style issues See #2509 --- .../lib/acp/form/DevtoolsFormBuilderTestForm.class.php | 8 ++++---- .../form/builder/field/TForcedIdFormField.class.php | 2 +- .../lib/system/form/builder/field/UserFormField.class.php | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/DevtoolsFormBuilderTestForm.class.php b/wcfsetup/install/files/lib/acp/form/DevtoolsFormBuilderTestForm.class.php index e28c4c03d2..0d2e84e6ad 100644 --- a/wcfsetup/install/files/lib/acp/form/DevtoolsFormBuilderTestForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/DevtoolsFormBuilderTestForm.class.php @@ -9,18 +9,18 @@ use wcf\system\form\builder\container\TabMenuFormContainer; use wcf\system\form\builder\field\data\CustomFormFieldDataProcessor; use wcf\system\form\builder\field\dependency\NonEmptyFormFieldDependency; use wcf\system\form\builder\field\dependency\ValueFormFieldDependency; -use wcf\system\form\builder\field\IsDisabledFormField; -use wcf\system\form\builder\field\TitleFormField; -use wcf\system\form\builder\field\UserFormField; -use wcf\system\form\builder\field\UsernameFormField; use wcf\system\form\builder\field\validation\FormFieldValidationError; use wcf\system\form\builder\field\validation\FormFieldValidator; use wcf\system\form\builder\field\BooleanFormField; use wcf\system\form\builder\field\IntegerFormField; +use wcf\system\form\builder\field\IsDisabledFormField; use wcf\system\form\builder\field\SimpleAclFormField; use wcf\system\form\builder\field\SingleSelectionFormField; use wcf\system\form\builder\field\TagFormField; use wcf\system\form\builder\field\TextFormField; +use wcf\system\form\builder\field\TitleFormField; +use wcf\system\form\builder\field\UserFormField; +use wcf\system\form\builder\field\UsernameFormField; use wcf\system\form\builder\field\WysiwygFormField; use wcf\system\form\builder\FormDocument; use wcf\system\form\builder\IFormDocument; diff --git a/wcfsetup/install/files/lib/system/form/builder/field/TForcedIdFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/TForcedIdFormField.class.php index fd1563f642..dc5d9d4639 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/TForcedIdFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/TForcedIdFormField.class.php @@ -31,4 +31,4 @@ trait TForcedIdFormField { * @return string id of every form field using this trait */ abstract protected static function getForcedId(): string; -} \ No newline at end of file +} diff --git a/wcfsetup/install/files/lib/system/form/builder/field/UserFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/UserFormField.class.php index ad8c8dd6eb..7412f81743 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/UserFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/UserFormField.class.php @@ -36,7 +36,6 @@ class UserFormField extends AbstractFormField implements IMultipleFormField, INu } } - return $this; } -- 2.20.1