From: Tim Düsterhus Date: Tue, 18 May 2021 08:45:42 +0000 (+0200) Subject: Explicitly `return null` in SessionHandler::__get()'s default case X-Git-Tag: 5.4.0_Alpha_3~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=543fba83293cc4ccd849e0f90815c024f7fba354;p=GitHub%2FWoltLab%2FWCF.git Explicitly `return null` in SessionHandler::__get()'s default case --- 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; } }