1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Add back suppression

This commit is contained in:
Brown 2020-09-14 11:02:04 -04:00
parent a37a3c5c96
commit 02b725f8a2

View File

@ -156,6 +156,7 @@ class ReturnTypeAnalyzer
}
}
/** @psalm-suppress PossiblyUndefinedStringArrayOffset */
if ($return_type
&& (!$return_type->from_docblock
|| ($return_type->isNullable()