Skip to content

Commit 3e35e45

Browse files
norkunasnicolas-grekas
authored andcommitted
[TypeInfo] Fix handling ConstFetchNode
1 parent f00fd96 commit 3e35e45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Extractor/PhpStanExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ public static function unionTypesProvider(): iterable
927927
Type::object(ParentDummy::class),
928928
Type::null(),
929929
)];
930-
yield ['f', null];
930+
yield ['f', Type::union(Type::string(), Type::null())];
931931
yield ['g', Type::array(Type::union(Type::string(), Type::int()))];
932932
}
933933

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require": {
2626
"php": ">=8.2",
2727
"symfony/string": "^6.4|^7.0",
28-
"symfony/type-info": "~7.1.9|^7.2.2"
28+
"symfony/type-info": "~7.2.8|^7.3.1"
2929
},
3030
"require-dev": {
3131
"symfony/serializer": "^6.4|^7.0",

0 commit comments

Comments
 (0)