Closed mijohansen closed 7 years ago
Confirmed. But the problem is only for parameters defaulted to null. Look at my fix.
Confirmed. There are some more problems with default parameter values (and also property values in classes). I must address this, however not before mid october, because I need to get my thesis done.
Ref #31
Ill try to explain. When creating a method from reflection default parameter gets messed up.
When I have a class with a default
Will produce:
Where as you can notice the default value is missing.
Hope this helps.
Guess the problematic area is PhpParameter::fromReflection() line 64