diff --git a/psalm.xml b/psalm.xml index ba09c70..cf39fd1 100644 --- a/psalm.xml +++ b/psalm.xml @@ -24,5 +24,12 @@ + + + + + + + \ No newline at end of file diff --git a/src/SecurityHelper.php b/src/SecurityHelper.php index b3ae6b5..c5f82e8 100644 --- a/src/SecurityHelper.php +++ b/src/SecurityHelper.php @@ -30,6 +30,7 @@ public function generateToken(int $length = 32): string */ public function addMask(string $token): string { + /** @psalm-suppress InvalidArgument $mask */ $mask = random_bytes(strlen($token)); $token = $mask ^ $token;