From 52a037fa25e398731b4d9b6f47214b9412c52e30 Mon Sep 17 00:00:00 2001 From: Eric Fortmeyer Date: Fri, 19 May 2023 21:43:58 -0500 Subject: [PATCH] docs(CsrfToken): fix typo in comment Closes #72 --- src/CsrfToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CsrfToken.php b/src/CsrfToken.php index 0a1f9c6..ce9213b 100644 --- a/src/CsrfToken.php +++ b/src/CsrfToken.php @@ -20,7 +20,7 @@ public function __construct( DateTimeImmutable $createdOn, int $ttl = TOKEN_DEFAULT_TTL, ) { - // the valid could be negative + // the value could be negative $intervalVal = abs($ttl); $secondsToChange = new DateInterval("PT{$intervalVal}S"); $this->expiresOn = $ttl > 0 ? $createdOn->add($secondsToChange) : $createdOn->sub($secondsToChange);