8000 Minor fixes by sebpacz · Pull Request #15255 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Minor fixes #15255

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
Apr 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ the argument by its name:
->addTag('controller.service_arguments')
->setBindings([
'$logger' => new Reference('monolog.logger.doctrine'),
'$projectDir' => '%kernel.project_dir%'
'$projectDir' => '%kernel.project_dir%',
])
;

Expand Down
2 changes: 1 addition & 1 deletion introduction/from_flat_php_to_symfony.rst
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ The Sample Application in Symfony

The blog has come a *long* way, but it still contains a lot of code for such
a basic application. Along the way, you've made a basic routing system and
a method using ``ob_start()`` and ``ob_get_clean()`` to render templates.
a function using ``ob_start()`` and ``ob_get_clean()`` to render templates.
If, for some reason, you needed to continue building this "framework" from
scratch, you could at least use Symfony's standalone :doc:`Routing </routing>`
component and :doc:`Twig </templates>`, which already solve these problems.
Expand Down
2 changes: 1 addition & 1 deletion page_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Make sure that ``LuckyController`` extends Symfony's base
// ...
}

Now, use the handy ``render()`` function to render a template. Pass it a ``number``
Now, use the handy ``render()`` method to render a template. Pass it a ``number``
variable so you can use it in Twig::

// src/Controller/LuckyController.php
Expand Down
0