From 99304b6b09d217602d8b0eaa4fc2123f34cb57e5 Mon Sep 17 00:00:00 2001 From: azjezz Date: Sat, 8 Jan 2022 17:21:13 +0100 Subject: [PATCH] revert "move psalm to development dependnecies" This reverts commit 30993c5e582e616bc3f866cfbada880fbbeed243. --- composer.json | 6 +++--- src/Argument.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 8871dd7..7704667 100644 --- a/composer.json +++ b/composer.json @@ -10,10 +10,10 @@ } ], "require": { - "php": "^7.4 || ^8.0" + "php": "^7.4 || ^8.0", + "vimeo/psalm": "^4.6" }, "require-dev": { - "vimeo/psalm": "^4.6", "friendsofphp/php-cs-fixer": "^2.18", "roave/security-advisories": "dev-master", "squizlabs/php_codesniffer": "^3.5" @@ -52,4 +52,4 @@ } }, "minimum-stability": "dev" -} +} \ No newline at end of file diff --git a/src/Argument.php b/src/Argument.php index e3bad64..be72b38 100644 --- a/src/Argument.php +++ b/src/Argument.php @@ -12,7 +12,7 @@ final class Argument { /** * @param list $arguments - * @param int<0, max> $index + * @param 0|positive-int $index */ public static function getType( array $arguments,