Skip to content

Fixed code syntax issues #7486

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

Closed
wants to merge 3 commits into from
Closed
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
4 changes: 2 additions & 2 deletions components/http_foundation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ the
method tells you if the request contains a session which was started in one of
the previous requests.

Accessing `Accept-*` Headers Data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Accessing ``Accept-*`` Headers Data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can easily access basic data extracted from ``Accept-*`` headers
by using the following methods:
Expand Down
2 changes: 1 addition & 1 deletion doctrine/custom_dql_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ In Symfony, you can register your custom DQL functions as follows:

In case the ``entity_managers`` were named explicitly, configuring the functions with the
orm directly will trigger the exception `Unrecognized option "dql" under "doctrine.orm"`.
The `dql` configuration block must be defined under the named entity manager.
The ``dql`` configuration block must be defined under the named entity manager.

.. configuration-block::

Expand Down
4 changes: 2 additions & 2 deletions doctrine/resolve_target_entity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ without making them hard dependencies.
Background
----------

Suppose you have an `InvoiceBundle` which provides invoicing functionality
and a `CustomerBundle` that contains customer management tools. You want
Suppose you have an InvoiceBundle which provides invoicing functionality
and a CustomerBundle that contains customer management tools. You want
to keep these separated, because they can be used in other systems without
each other, but for your application you want to use them together.

Expand Down
2 changes: 1 addition & 1 deletion form/without_class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ How to Use a Form without a Data Class

In most cases, a form is tied to an object, and the fields of the form get
and store their data on the properties of that object. This is exactly what
you've seen so far in this chapter with the `Task` class.
you've seen so far in this chapter with the ``Task`` class.

But sometimes, you may just want to use a form without a class, and get back
an array of the submitted data. This is actually really easy::
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/options/choice_value.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If ``null`` is used, an incrementing integer is used as the name.
.. caution::

In Symfony 2.7, there was a small backwards-compatibility break with how the
`value` attribute of options is generated. This is not a problem unless you
``value`` attribute of options is generated. This is not a problem unless you
rely on the option values in JavaScript. See `issue #14825`_ for details.

.. _`issue #14825`: https://github.com/symfony/symfony/pull/14825
4 changes: 2 additions & 2 deletions templating/twig_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ As an example you'll create a price filter to format a given number into price::

.. tip::

Along with custom filters, you can also add custom `functions` and register
`global variables`.
Along with custom filters, you can also add custom `functions`_ and register
`global variables`_.

Register an Extension as a Service
----------------------------------
Expand Down