You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A service to get type by if else only with same assignment single property seems needed.
For note: the implementation need to be carefully applied, eg, start with only assign 2 times in if and else in whole class inside first level statement of __construct.
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.com/demo/9dae40b0-c632-4c38-a96c-4490c5b54f3c
Responsible rules
TypedPropertyFromAssignsRector
Expected Behavior
the created property type should be non-nullable and without a default value
The text was updated successfully, but these errors were encountered: