Skip to content

Commit

Permalink
Remove redundant NULL coalescing.
Browse files Browse the repository at this point in the history
Signed-off-by: hschletz <holger.schletz@web.de>
  • Loading branch information
hschletz authored Nov 3, 2024
1 parent fd16452 commit 3f991bb
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 3f991bb

Please sign in to comment.