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
Hello,
Strict-rules require all class properties to have typehint, although the ones that are specified in the constructor are perfectly inferred by the IDE.
Maybe we could do the property typehint optional if type of the property is specified in the constructor?
Hello,
Strict-rules require all class properties to have typehint, although the ones that are specified in the constructor are perfectly inferred by the IDE.
Maybe we could do the property typehint optional if type of the property is specified in the constructor?
The code:
Output:
Expected output:
No errors
The text was updated successfully, but these errors were encountered: