Skip to content

[Routing] Update routing.rst #15572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2021
Merged

Conversation

authentictech
Copy link
Contributor

Just adding the ? character to the route parameter without also adding ? to the function parameter type results in a TypeError: "Argument 1 passed to App\Controller\BlogController::list() must be of the type integer, null given"

@carsonbot carsonbot changed the title Update routing.rst [Routing] Update routing.rst Aug 2, 2021
@javiereguiluz javiereguiluz changed the base branch from 5.3 to 4.4 August 2, 2021 10:55
Just adding the ? character to the route parameter without also adding ? to the function parameter type results in a TypeError: "Argument 1 passed to App\Controller\BlogController::list() must be of the type integer, null given"
@javiereguiluz
Copy link
Member

Thanks @authentictech!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants