-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
Description
An optional method parameter with a constant as default value (e.g. SORT_ASC) will result in
<parameter name="sort" optional="true" byreference="false">
<default>3</default>
</parameter>
but if it is using a class constant like self::DETECT it will result in
<parameter name="type" optional="true" byreference="false">
<default>'__StaticReflectionConstantValue(self::DETECT)'</default>
</parameter>
Is this the expected behavior?
Reactions are currently unavailable