Skip to content

Commit ef3ba3e

Browse files
committed
minor #17238 Proper line numbers for a Basic Controller example (githubfromgui)
This PR was merged into the 6.0 branch. Discussion ---------- Proper line numbers for a Basic Controller example The lines that describe the method signature and the method return value (lines `12` and `16`, respectively), should be `10` and `14` since Symfony version `6.0`. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- c37c052 Proper line numbers for a Basic Controller example
2 parents 8031c55 + c37c052 commit ef3ba3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ This controller is pretty straightforward:
5959
* *line 7*: The class can technically be called anything, but it's suffixed
6060
with ``Controller`` by convention.
6161

62-
* *line 12*: The action method is allowed to have a ``$max`` argument thanks to the
62+
* *line 10*: The action method is allowed to have a ``$max`` argument thanks to the
6363
``{max}`` :doc:`wildcard in the route </routing>`.
6464

65-
* *line 16*: The controller creates and returns a ``Response`` object.
65+
* *line 14*: The controller creates and returns a ``Response`` object.
6666

6767
.. index::
6868
single: Controller; Routes and controllers

0 commit comments

Comments
 (0)