summaryrefslogtreecommitdiffstats
path: root/tests/startsessionlistener.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-21 16:40:38 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 13:34:41 +0100
commitc007ca624f4a95e1a491221d425fcb2fa6e5589a (patch)
treeb60aa133b438eb116ac3579283aa8a7967efd12b /tests/startsessionlistener.php
parente0f32814e33f9ebb8c42744611048cbfac1eb588 (diff)
downloadnextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.tar.gz
nextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.zip
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/startsessionlistener.php')
-rw-r--r--tests/startsessionlistener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/startsessionlistener.php b/tests/startsessionlistener.php
index 24a72db0065..d9d23ee6db8 100644
--- a/tests/startsessionlistener.php
+++ b/tests/startsessionlistener.php
@@ -18,7 +18,7 @@ class StartSessionListener implements TestListener {
use TestListenerDefaultImplementation;
- public function endTest(Test $test, $time) {
+ public function endTest(Test $test, float $time): void {
// reopen the session - only allowed for memory session
if (\OC::$server->getSession() instanceof Memory) {
/** @var $session Memory */