revert "move psalm to development dependnecies"

This reverts commit 30993c5e58.
This commit is contained in:
azjezz 2022-01-08 17:21:13 +01:00
parent 30993c5e58
commit 99304b6b09
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -12,7 +12,7 @@ final class Argument
{
/**
* @param list<PhpParser\Node\Arg> $arguments
* @param int<0, max> $index
* @param 0|positive-int $index
*/
public static function getType(
array $arguments,