1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

suppress false positive

This commit is contained in:
kkmuffme 2023-11-16 15:57:45 +01:00
parent fd2f876574
commit 00bed512af

View File

@ -959,6 +959,7 @@ final class ArgumentAnalyzer
&& strpos($input_type_part->value, '::')
) {
$parts = explode('::', $input_type_part->value);
/** @psalm-suppress PossiblyUndefinedIntArrayOffset */
$potential_method_ids[] = new MethodIdentifier(
$parts[0],
strtolower($parts[1]),