Skip to content

Update templating.rst from "Create your own Framework" #19073

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
Oct 23, 2023

Conversation

staatzstreich
Copy link
Contributor

  • parameter $year is typed with integer. date function returns string. Code works but casting to the right type feels better.
  • added missing import to fix TypeError "Argument 1 ($request) must be of type Request"

@OskarStark OskarStark added this to the 5.4 milestone Oct 23, 2023
- parameter $year is typed with integer. date function returns string. Code works but casting to the right type feels better.
- added missing import to fix TypeError "Argument symfony#1 ($request) must be of type Request"
@xabbuh xabbuh changed the base branch from 6.4 to 5.4 October 23, 2023 08:25
@xabbuh xabbuh self-requested a review as a code owner October 23, 2023 08:25
@xabbuh
Copy link
Member

xabbuh commented Oct 23, 2023

Good catch, thanks Michael.

@xabbuh xabbuh merged commit e6d0c1a into symfony:5.4 Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants