From: Matthias Schmidt Date: Sun, 2 Oct 2016 13:29:42 +0000 (+0200) Subject: Fix IDE warnings about undefined methods X-Git-Tag: 3.0.0_Beta_2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=59d502e65a7311fddd4ba087e9d08465a2855778;p=GitHub%2FWoltLab%2FWCF.git Fix IDE warnings about undefined methods --- diff --git a/wcfsetup/install/files/lib/system/form/element/MultipleSelectionFormElement.class.php b/wcfsetup/install/files/lib/system/form/element/MultipleSelectionFormElement.class.php index aedd38270b..60ab6f261d 100644 --- a/wcfsetup/install/files/lib/system/form/element/MultipleSelectionFormElement.class.php +++ b/wcfsetup/install/files/lib/system/form/element/MultipleSelectionFormElement.class.php @@ -1,5 +1,6 @@ * @package WoltLabSuite\Core\System\Form\Element + * + * @method MultipleSelectionFormElementContainer getParent() */ class MultipleSelectionFormElement extends AbstractNamedFormElement { /** diff --git a/wcfsetup/install/files/lib/system/form/element/SingleSelectionFormElement.class.php b/wcfsetup/install/files/lib/system/form/element/SingleSelectionFormElement.class.php index 5ea297f7d0..a1100bc2c4 100644 --- a/wcfsetup/install/files/lib/system/form/element/SingleSelectionFormElement.class.php +++ b/wcfsetup/install/files/lib/system/form/element/SingleSelectionFormElement.class.php @@ -1,5 +1,6 @@ * @package WoltLabSuite\Core\System\Form\Element + * + * @method SingleSelectionFormElementContainer getParent() */ class SingleSelectionFormElement extends AbstractNamedFormElement { /** diff --git a/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php b/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php index a3ecab98f4..127cac79fd 100644 --- a/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php +++ b/wcfsetup/install/files/lib/system/message/QuickReplyManager.class.php @@ -217,6 +217,7 @@ class QuickReplyManager extends SingletonFactory { // calculate start index $startIndex = $count - (count($messageList) - 1); + /** @noinspection PhpUndefinedMethodInspection */ WCF::getTPL()->assign([ 'attachmentList' => $messageList->getAttachmentList(), 'container' => $this->container,