We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7f60ec commit 9c62eacCopy full SHA for 9c62eac
system/Session/Handlers/DatabaseHandler.php
@@ -313,8 +313,8 @@ protected function releaseLock(): bool
313
private function now(string $interval): string
314
{
315
$DBDriver = config(Database::class)->{$this->DBGroup}['DBDriver'];
316
-
317
- return match($DBDriver) {
+
+ return match ($DBDriver) {
318
'SQLite3' => "datetime('now', '-{$interval}')",
319
default => "now() - INTERVAL {$interval}",
320
};
0 commit comments