diff --git a/composer.json b/composer.json index 33cc1b65..f02292d2 100644 --- a/composer.json +++ b/composer.json @@ -80,7 +80,7 @@ "phpstan/phpstan-phpunit": "^1.0.0", "phpunit/phpunit": "^9.5.13", "squizlabs/php_codesniffer": "^3.6.2", - "vimeo/psalm": "^4.20.0" + "vimeo/psalm": "^5.4.0" }, "conflict": { "doctrine/migrations": "<3.3" diff --git a/src/Paginator/Adapter/DoctrinePaginator.php b/src/Paginator/Adapter/DoctrinePaginator.php index 306d1f30..b526ec87 100644 --- a/src/Paginator/Adapter/DoctrinePaginator.php +++ b/src/Paginator/Adapter/DoctrinePaginator.php @@ -15,6 +15,7 @@ * @psalm-template T of object * @psalm-template TKey of int * @psalm-template TValue + * @template-implements AdapterInterface */ class DoctrinePaginator implements AdapterInterface, JsonSerializable {