Skip to content

Commit

Permalink
Fix phpstan configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fetus-hina committed Jun 23, 2024
1 parent 507a769 commit 8e6fe81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
parameters:
checkMissingIterableValueType: false
level: max
paths:
- src
- test
treatPhpDocTypesAsCertain: false
ignoreErrors:
- identifier: missingType.iterableValue
1 change: 0 additions & 1 deletion src/Totp.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class Totp
*/
public static function generateKey(int $sizeBits = self::DEFAULT_KEY_SIZE_BITS): string
{
// @phpstan-ignore-next-line
if ($sizeBits < 8 || $sizeBits % 8 !== 0) {
throw new Exception('$sizeBits is not multiples of 8');
}
Expand Down

0 comments on commit 8e6fe81

Please sign in to comment.