Skip to content

Commit b985e98

Browse files
committed
Upgrade PHPStan
1 parent 0b9e4c7 commit b985e98

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"ergebnis/composer-normalize": "^2.25",
4040
"jetbrains/phpstorm-attributes": "^1.0",
4141
"phpmd/phpmd": "^2.13",
42-
"phpstan/phpstan": "^1.5",
42+
"phpstan/phpstan": "^2.2",
4343
"phpunit/phpunit": "^10.5"
4444
},
4545
"minimum-stability": "dev",

src/ArraySimple.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ protected static function getKeys(array $array, string $childKey = '') : array
155155
}
156156

157157
/**
158-
* @param array<int,string> $parent
159-
* @param array<int,string> $childs
158+
* @param array<mixed> $parent
159+
* @param array<mixed> $childs
160160
* @param mixed $value
161161
*/
162162
protected static function addChild(array &$parent, array $childs, mixed $value) : void

0 commit comments

Comments
 (0)