Explicitly `return null` in SessionHandler::__get()'s default case
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 18 May 2021 08:45:42 +0000 (10:45 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 18 May 2021 08:45:42 +0000 (10:45 +0200)
wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index f3a7eb8858eedf51aa4a640bc5e25d5f12ea2df4..e2c4521e231b561201f7aa5f979f0f24cddaa3f8 100644 (file)
@@ -184,7 +184,7 @@ final class SessionHandler extends SingletonFactory
                 return TIME_NOW;
 
             default:
-                return;
+                return null;
         }
     }