Skip to content

Commit

Permalink
Merge pull request #95 from hschletz/2.22.x
Browse files Browse the repository at this point in the history
Remove redundant NULL coalescing.
  • Loading branch information
gsteel authored Nov 3, 2024
2 parents e2c372e + 3f991bb commit 0acfafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validator/Csrf.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function getSessionName(): string
*/
public function setTimeout(int|null $ttl): void
{
$this->timeout = $ttl ?? null;
$this->timeout = $ttl;
}

/**
Expand Down

0 comments on commit 0acfafd

Please sign in to comment.