From 543fba83293cc4ccd849e0f90815c024f7fba354 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 18 May 2021 10:45:42 +0200 Subject: [PATCH] Explicitly `return null` in SessionHandler::__get()'s default case --- .../install/files/lib/system/session/SessionHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index f3a7eb8858..e2c4521e23 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -184,7 +184,7 @@ final class SessionHandler extends SingletonFactory return TIME_NOW; default: - return; + return null; } } -- 2.20.1