From: Matthias Schmidt Date: Fri, 29 Jul 2016 19:39:23 +0000 (+0200) Subject: Suppress warnings about incompatible return type X-Git-Tag: 3.0.0_Beta_1~893 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52ec25051820d6e6bbd7d44873705823e0de7add;p=GitHub%2FWoltLab%2FWCF.git Suppress warnings about incompatible return type --- diff --git a/wcfsetup/install/files/lib/data/acp/session/virtual/ACPSessionVirtualAction.class.php b/wcfsetup/install/files/lib/data/acp/session/virtual/ACPSessionVirtualAction.class.php index 5146680b97..680b42de9c 100644 --- a/wcfsetup/install/files/lib/data/acp/session/virtual/ACPSessionVirtualAction.class.php +++ b/wcfsetup/install/files/lib/data/acp/session/virtual/ACPSessionVirtualAction.class.php @@ -38,6 +38,7 @@ class ACPSessionVirtualAction extends AbstractDatabaseObjectAction { if (!isset($this->parameters['data']['ipAddress'])) $this->parameters['data']['ipAddress'] = UserUtil::getIpAddress(); if (!isset($this->parameters['data']['userAgent'])) $this->parameters['data']['userAgent'] = UserUtil::getUserAgent(); + /** @noinspection PhpIncompatibleReturnTypeInspection */ return parent::create(); } } diff --git a/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php b/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php index 6440a0ec1e..555fd50b7a 100644 --- a/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php +++ b/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php @@ -50,6 +50,7 @@ class ModerationQueueAction extends AbstractDatabaseObjectAction { $this->parameters['data']['lastChangeTime'] = TIME_NOW; } + /** @noinspection PhpIncompatibleReturnTypeInspection */ return parent::create(); }