We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69938c commit 9245561Copy full SHA for 9245561
src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php
@@ -840,7 +840,10 @@ public static function unionTypesProvider(): iterable
840
Type::generic(
841
Type::object(Dummy::class),
842
Type::array(Type::string(), Type::mixed()),
843
- Type::union(Type::int(), Type::list(Type::generic(Type::string(), Type::object(DefaultValue::class)))),
+ Type::union(
844
+ Type::int(),
845
+ Type::list(Type::collection(Type::object(\Traversable::class), Type::object(DefaultValue::class))),
846
+ ),
847
),
848
Type::object(ParentDummy::class),
849
Type::null(),
0 commit comments