Skip to content

Commit

Permalink
Upgrade Psalm up to v5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Apr 10, 2023
1 parent e68c39f commit 1b7bba3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -45,7 +45,7 @@
"mockery/mockery": "^1.5",
"phpunit/phpunit": "^9.5.20",
"spiral/boot": "^3.7",
"vimeo/psalm": "^4.27"
"vimeo/psalm": "^5.9"
},
"autoload-dev": {
"psr-4": {
Expand Down
2 changes: 2 additions & 0 deletions psalm.xml
Expand Up @@ -11,6 +11,8 @@
findUnusedVariablesAndParams="true"
ensureArrayStringOffsetsExist="true"
addParamDefaultToDocblockType="true"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src" />
Expand Down
4 changes: 2 additions & 2 deletions src/BroadcastInterface.php
Expand Up @@ -7,8 +7,8 @@
use Spiral\Broadcasting\Exception\BroadcastException;

/**
* @psalm-type TopicsList = non-empty-list<string> | non-empty-list<\Stringable> | string | Stringable
* @psalm-type MessagesList = non-empty-list<string> | non-empty-list<\Stringable> | string | Stringable
* @psalm-type TopicsList = non-empty-list<string> | non-empty-list<\Stringable> | string | \Stringable
* @psalm-type MessagesList = non-empty-list<string> | non-empty-list<\Stringable> | string | \Stringable
*/
interface BroadcastInterface
{
Expand Down

0 comments on commit 1b7bba3

Please sign in to comment.