diff --git a/composer.json b/composer.json index 1cff30a..7e1dadc 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "amphp/process": "^2", "phpunit/phpunit": "^9", "amphp/php-cs-fixer-config": "^2", - "psalm/phar": "^5.4" + "psalm/phar": "5.22" }, "autoload": { "psr-4": { diff --git a/psalm.xml b/psalm.xml index fafdc33..ebc5bde 100644 --- a/psalm.xml +++ b/psalm.xml @@ -14,6 +14,12 @@ + + + + + + diff --git a/src/Protocol/RespParser.php b/src/Protocol/RespParser.php index ffda29a..64cd4e2 100644 --- a/src/Protocol/RespParser.php +++ b/src/Protocol/RespParser.php @@ -5,7 +5,6 @@ use Amp\ForbidCloning; use Amp\ForbidSerialization; use Amp\Parser\Parser; -use Generator as ParserGeneratorType; /** * @psalm-type ParserGeneratorType = \Generator