From 324f65ed17777ae045b7ad93035d82bdde70480d Mon Sep 17 00:00:00 2001 From: grimpirate Date: Wed, 16 Oct 2024 12:29:08 -0400 Subject: [PATCH] Strict parameter type --- system/Session/Handlers/DatabaseHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Session/Handlers/DatabaseHandler.php b/system/Session/Handlers/DatabaseHandler.php index b327ed3335d4..12988e70dc06 100644 --- a/system/Session/Handlers/DatabaseHandler.php +++ b/system/Session/Handlers/DatabaseHandler.php @@ -310,7 +310,7 @@ protected function releaseLock(): bool * * @param string $interval Amount of time to subtract from NOW */ - private function now($interval): string + private function now(string $interval): string { $DBDriver = config(Database::class)->{$this->DBGroup}['DBDriver']; return match($DBDriver) {