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

Fix casing

This commit is contained in:
Matthew Brown 2019-10-08 22:25:15 -04:00
parent 38de68f507
commit d7007c3b76

View File

@ -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(),