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:
parent
a37a3c5c96
commit
02b725f8a2
@ -156,6 +156,7 @@ class ReturnTypeAnalyzer
|
||||
}
|
||||
}
|
||||
|
||||
/** @psalm-suppress PossiblyUndefinedStringArrayOffset */
|
||||
if ($return_type
|
||||
&& (!$return_type->from_docblock
|
||||
|| ($return_type->isNullable()
|
||||
|
Loading…
x
Reference in New Issue
Block a user