mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
add test
This commit is contained in:
parent
abebe4f7b4
commit
5bb8eb6eb2
@ -141,6 +141,7 @@ class ReconcilerTest extends \Psalm\Tests\TestCase
|
||||
'iterableAndNotObject' => ['array<int, string>', '!object', 'iterable<int, string>'],
|
||||
'boolNotEmptyIsTrue' => ['true', '!empty', 'bool'],
|
||||
'interfaceAssertionOnClassInterfaceUnion' => ['SomeInterface|SomeInterface&SomeClass', 'SomeInterface', 'SomeClass|SomeInterface'],
|
||||
'filterKeyedArrayWithIterable' => ['array{some: string}', 'iterable<string>', 'array{some: mixed}'],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user