Using nullsafe method call on non-nullable type HelloWorld. Use -> instead.
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 942
Closed
Closed
Labels
Milestone
Description
opened
on Dec 14, 2022Bug report
Since 1.9.3 phpstan wrongly assumes that static value is not nullable, but it is null
Code snippet that reproduces the problem
https://phpstan.org/r/050f005b-078c-4f2d-85db-7b8a59c1de25
Expected output
No error.
Notes
Maybe related to #8337
Metadata
Metadata
Assignees
No one assigned
Labels
Type
No type
Projects
No projects
Milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions
