We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc96a5b commit ab12367Copy full SHA for ab12367
tests/PHPStan/Analyser/data/dynamic-constant.php
@@ -35,8 +35,6 @@ private function rip()
35
assertType('bool', GLOBAL_DYNAMIC_CONSTANT);
36
assertType('123', GLOBAL_PURE_CONSTANT);
37
assertType('string|null', GLOBAL_DYNAMIC_CONSTANT_WITH_EXPLICIT_TYPES);
38
-
39
- // Bug 9218: dynamicConstantNames with @var PHPDoc type
40
assertType('string|null', DynamicConstantClass::DYNAMIC_NULL_WITH_PHPDOC_CONSTANT);
41
assertType('list<string>', DynamicConstantClass::DYNAMIC_EMPTY_ARRAY_WITH_PHPDOC_CONSTANT);
42
}
0 commit comments