From: Matthias Schmidt Date: Tue, 8 May 2018 05:23:13 +0000 (+0200) Subject: Work around code sniff errors X-Git-Tag: 5.2.0_Alpha_1~751 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6b5dd794b343dc206b67b7fd136545eb6d55f9b9;p=GitHub%2FWoltLab%2FWCF.git Work around code sniff errors See #2545 --- diff --git a/wcfsetup/install/files/lib/system/form/builder/field/OptionFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/OptionFormField.class.php index 91f63321e7..7dea721eb6 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/OptionFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/OptionFormField.class.php @@ -100,7 +100,9 @@ class OptionFormField extends ItemListFormField { /** * @inheritDoc */ + // @codingStandardsIgnoreStart public static function create(string $id = 'options'): IFormNode { return parent::create($id); } + // @codingStandardsIgnoreEnd } diff --git a/wcfsetup/install/files/lib/system/form/builder/field/UserGroupOptionFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/UserGroupOptionFormField.class.php index ad178d19e8..9acb533f68 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/UserGroupOptionFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/UserGroupOptionFormField.class.php @@ -100,7 +100,9 @@ class UserGroupOptionFormField extends ItemListFormField { /** * @inheritDoc */ + // @codingStandardsIgnoreStart public static function create(string $id = 'permissions'): IFormNode { return parent::create($id); } + // @codingStandardsIgnoreEnd }