Work around code sniff errors
authorMatthias Schmidt <gravatronics@live.com>
Tue, 8 May 2018 05:23:13 +0000 (07:23 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 8 May 2018 05:23:13 +0000 (07:23 +0200)
See #2545

wcfsetup/install/files/lib/system/form/builder/field/OptionFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/UserGroupOptionFormField.class.php

index 91f63321e7e062c7bbb0860e3f23af6ac211bea0..7dea721eb639dc188ef534b492c29961812ea78f 100644 (file)
@@ -100,7 +100,9 @@ class OptionFormField extends ItemListFormField {
        /**
         * @inheritDoc
         */
+       // @codingStandardsIgnoreStart
        public static function create(string $id = 'options'): IFormNode {
                return parent::create($id);
        }
+       // @codingStandardsIgnoreEnd
 }
index ad178d19e8f7df5e3d61c1015967d7c54913df44..9acb533f682e7a28a7be947567d50a90ba016ecd 100644 (file)
@@ -100,7 +100,9 @@ class UserGroupOptionFormField extends ItemListFormField {
        /**
         * @inheritDoc
         */
+       // @codingStandardsIgnoreStart
        public static function create(string $id = 'permissions'): IFormNode {
                return parent::create($id);
        }
+       // @codingStandardsIgnoreEnd
 }