From: Matthias Schmidt Date: Fri, 20 Sep 2019 15:57:12 +0000 (+0200) Subject: Fix IDE return type determination for WysiwygFormContainer::create() X-Git-Tag: 5.2.0_Beta_2~50 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6acf3125d3543b759486eeac02b955c0034bead4;p=GitHub%2FWoltLab%2FWCF.git Fix IDE return type determination for WysiwygFormContainer::create() --- diff --git a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php index 179df2d2d1..68adc7283a 100644 --- a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php @@ -134,6 +134,7 @@ class WysiwygFormContainer extends FormContainer implements IMaximumLengthFormFi /** * @inheritDoc + * @return static */ public static function create($id) { // the actual id is used for the form field containing the text