Skip to content

Fix request parameter method call in GuideController#46

Merged
FabianSchmick merged 1 commit intomasterfrom
203360_symfony_8
Mar 20, 2026
Merged

Fix request parameter method call in GuideController#46
FabianSchmick merged 1 commit intomasterfrom
203360_symfony_8

Conversation

@FabianSchmick
Copy link
Member

The method $request->get() was removed in Symfony >= 8. Internal the method used either $this->attributes->get() or $this->query->get() or $this->request->get(). In this case we need to call $request->query->get().

The method [`$request->get()`](https://symfony.com/blog/new-in-symfony-7-4-request-class-improvements#deprecated-the-get-method) was removed in Symfony >= 8.
Internal the method used either `$this->attributes->get()` or `$this->query->get()` or `$this->request->get()`. In this case we need to call `$request->query->get()`.
@FabianSchmick FabianSchmick requested a review from mpdude March 20, 2026 07:40
@FabianSchmick FabianSchmick merged commit 60c4c99 into master Mar 20, 2026
6 checks passed
@FabianSchmick FabianSchmick deleted the 203360_symfony_8 branch March 20, 2026 09:59
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.

2 participants