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
The text was updated successfully, but these errors were encountered:
romalytvynenko
changed the title
Default parameter value (type) is lost when the parameter is typehinted
When inferring a type, the default parameter value (type) is lost when the parameter is typehinted
Nov 25, 2024
I encountered a similar problem with rendering the response body as a string. However, there seems to be something mystical going on.
I use: v0.11.27
Code to Reproduce:
Observed Behavior
Without a type declaration for the $status argument, the code works as expected and produces the correct json response body.
Issue: When I add a type declaration (int) to the $status argument, the response body is rendered as a string.
Originally posted by @tegos in #540 (comment)
The text was updated successfully, but these errors were encountered: