- Allow argument defaults for generic args # The following declaration now allows being called with NULL: # #   #[@generic(params= "T")] #   public function set($value= NULL) { #     ... #   } # # Previously, an IllegalArgumentException was raised. This is now # consistent with the way PHP handles nullable type hints
- Allow argument defaults for generic args
# The following declaration now allows being called with NULL:
#
#   #[@generic(params= "T")]
#   public function set($value= NULL) {
#     ...
#   }
#
# Previously, an IllegalArgumentException was raised. This is now
# consistent with the way PHP handles nullable type hints

johannes85/core