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
I'd like to patch TypeResolver to handle nullable types. Would you prefer a Nullable type with actual type as child, or would you prefer a "flag" to be added to all the types? I think the former is cleaner (and echos how the AST is structured in PhpParser) but just wanted to check what your thoughts were before submitting a patch :) thanks!
The text was updated successfully, but these errors were encountered:
asgrim
changed the title
[Question]
[Question] Best way to implement nullable types
Apr 17, 2017
I'd like to patch TypeResolver to handle nullable types. Would you prefer a
Nullable
type with actual type as child, or would you prefer a "flag" to be added to all the types? I think the former is cleaner (and echos how the AST is structured in PhpParser) but just wanted to check what your thoughts were before submitting a patch :) thanks!The text was updated successfully, but these errors were encountered: