We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51907de commit 19b3f77Copy full SHA for 19b3f77
1 file changed
src/Crypto.php
@@ -76,7 +76,7 @@ public static function randomString(int $length, string $keyspace = self::ASCII_
76
// use the Randomizer if available
77
// https://github.com/phpstan/phpstan/issues/7843
78
if(PHP_VERSION_ID >= 80300){
79
- /** @phan-suppress-next-line PhanUndeclaredClassMethod */
+ /** @phan-suppress-next-line PhanUndeclaredClassMethod, PhanUndeclaredMethod */
80
return (new \Random\Randomizer(new \Random\Engine\Secure))->getBytesFromString($keyspace, $length);
81
}
82
0 commit comments