projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a78a118
)
Suppress warnings about incompatible return type
author
Matthias Schmidt
<gravatronics@live.com>
Fri, 29 Jul 2016 19:39:23 +0000
(21:39 +0200)
committer
Matthias Schmidt
<gravatronics@live.com>
Fri, 29 Jul 2016 19:39:23 +0000
(21:39 +0200)
wcfsetup/install/files/lib/data/acp/session/virtual/ACPSessionVirtualAction.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php
patch
|
blob
|
blame
|
history
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 5146680b9745b76ae24f7bac807661d708c809a0..680b42de9cb3a35aadc784cf2d21c6f523b945ff 100644
(file)
--- 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 6440a0ec1e8ba5771a9e219dc3fbda801a8e5634..555fd50b7a44bf4d411b5a531bf9760c788529c3 100644
(file)
--- 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();
}