mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix casing
This commit is contained in:
parent
38de68f507
commit
d7007c3b76
@ -45,7 +45,7 @@ class ArrayUniqueReturnTypeProvider implements \Psalm\Plugin\Hook\FunctionReturn
|
||||
}
|
||||
|
||||
if ($first_arg_array instanceof Type\Atomic\TList) {
|
||||
if ($first_arg_array instanceof Type\ATomic\TNonEmptyList) {
|
||||
if ($first_arg_array instanceof Type\Atomic\TNonEmptyList) {
|
||||
return new Type\Union([
|
||||
new Type\Atomic\TNonEmptyArray([
|
||||
Type::getInt(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user