Skip to content

Commit

Permalink
Strict parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
grimpirate authored Oct 16, 2024
1 parent b36d4be commit 324f65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Session/Handlers/DatabaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 324f65e

Please sign in to comment.