Skip to content

Commit adbdd71

Browse files
authored
Fix phpstan notice on latest phpstan (#370)
1 parent 9828dbe commit adbdd71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public function configure(array $configuration): void
141141

142142
foreach ($unsafeTypesToMethods as $key => $value) {
143143
Assert::string($key);
144+
Assert::isArray($value);
144145
Assert::allString($value);
145146
}
146147

0 commit comments

Comments
 (0)