Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grimpirate authored Oct 16, 2024
1 parent c7f60ec commit 9c62eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Session/Handlers/DatabaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ protected function releaseLock(): bool
private function now(string $interval): string
{
$DBDriver = config(Database::class)->{$this->DBGroup}['DBDriver'];
return match($DBDriver) {

return match ($DBDriver) {
'SQLite3' => "datetime('now', '-{$interval}')",
default => "now() - INTERVAL {$interval}",
};
Expand Down

0 comments on commit 9c62eac

Please sign in to comment.