Skip to content

Commit

Permalink
Fix psalm (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik authored Jul 8, 2024
1 parent e77d081 commit 2cb137a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"rector/rector": "^1.0.0",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.21",
"vimeo/psalm": "^4.30|^5.25",
"yiisoft/test-support": "^1.2"
},
"suggest": {
Expand Down
2 changes: 2 additions & 0 deletions src/ArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ abstract class ArgumentException extends \InvalidArgumentException
{
/**
* @var string
*
* @psalm-suppress MissingClassConstType Add constant type after raise minimal PHP version to 8.3
*/
protected const EXCEPTION_MESSAGE = 'Something is wrong with argument "%s" when calling "%s"%s.';

Expand Down

0 comments on commit 2cb137a

Please sign in to comment.