Skip to content

Commit

Permalink
Fix Psalm Annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Dec 1, 2022
1 parent df51a3f commit c88098c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"guzzlehttp/guzzle": "^6.5.3 || ^7.2.0",
"ext-zip": "*",
"mikey179/vfsstream": "^1.6",
"vimeo/psalm": "^4.1 || ^5.0",
"vimeo/psalm": "^5.0",
"php-coveralls/php-coveralls": "^2.4",
"friendsofphp/php-cs-fixer": "^3.9"
},
Expand Down
2 changes: 2 additions & 0 deletions src/Option/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* @method static STORE(): Method
* @method static DEFLATE(): Method
* @psalm-immutable
* @psalm-template int
* @extends Enum<int>
*/
class Method extends Enum
{
Expand Down
2 changes: 2 additions & 0 deletions src/Option/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* @method static DEFLATE(): Version
* @method static ZIP64(): Version
* @psalm-immutable
* @psalm-template int
* @extends Enum<int>
*/
class Version extends Enum
{
Expand Down

0 comments on commit c88098c

Please sign in to comment.