From 59d502e65a7311fddd4ba087e9d08465a2855778 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 2 Oct 2016 15:29:42 +0200 Subject: [PATCH] Fix IDE warnings about undefined methods --- .../system/form/element/MultipleSelectionFormElement.class.php | 3 +++ .../system/form/element/SingleSelectionFormElement.class.php | 3 +++ .../files/lib/system/message/QuickReplyManager.class.php | 1 + 3 files changed, 7 insertions(+) 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, -- 2.20.1