Skip to content

Commit

Permalink
leave the array initialization in place to avoid type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Oct 10, 2024
1 parent 8c6cda7 commit 246b29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/silauth/src/Auth/Source/auth/AuthError.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AuthError
const CODE_RATE_LIMIT_MINUTES = 'rate_limit_minutes';

private string $code;
private array $messageParams;
private array $messageParams = [];

/**
* Constructor.
Expand Down

0 comments on commit 246b29f

Please sign in to comment.