Skip to content

Commit

Permalink
Merge pull request #797 from rogervila/psalm-5
Browse files Browse the repository at this point in the history
Psalm 5 Support
  • Loading branch information
driehle authored Dec 12, 2022
2 parents 8a9486e + 80b3ed7 commit ad34620
Show file tree
Hide file tree
Showing 3 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 @@ -72,7 +72,7 @@
"phpstan/phpstan-phpunit": "^1.3.0",
"phpunit/phpunit": "^9.5.27",
"predis/predis": "^1.1.10",
"vimeo/psalm": "^4.30.0"
"vimeo/psalm": "^5.0"
},
"conflict": {
"doctrine/orm": "2.12.0"
Expand Down
1 change: 1 addition & 0 deletions src/Paginator/Adapter/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/**
* @psalm-template TKey of array-key
* @psalm-template T
* @template-implements AdapterInterface<int, T>
*/
class Collection implements AdapterInterface
{
Expand Down
1 change: 1 addition & 0 deletions src/Paginator/Adapter/Selectable.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*
* @template TKey of int
* @template T
* @template-implements AdapterInterface<TKey, T>
*/
class Selectable implements AdapterInterface
{
Expand Down

0 comments on commit ad34620

Please sign in to comment.