Skip to content

Commit

Permalink
Document logical xor in expression language
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan2Shrek committed Oct 1, 2024
1 parent 768b8ad commit c61ad37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions reference/formats/expression_language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ Logical Operators
* ``not`` or ``!``
* ``and`` or ``&&``
* ``or`` or ``||``
* ``xor``

.. versionadded:: 7.2

Check failure on line 350 in reference/formats/expression_language.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

Please add a blank line after ".. versionadded:: 7.2
Support for the ``xor`` logical operator was introduced in Symfony 7.2.

For example::

Expand Down Expand Up @@ -489,6 +493,8 @@ The following table summarizes the operators and their associativity from the
+-----------------------------------------------------------------+---------------+
| ``or``, ``||`` | left |
+-----------------------------------------------------------------+---------------+
| ``xor`` | left |
+-----------------------------------------------------------------+---------------+

Built-in Objects and Variables
------------------------------
Expand Down

0 comments on commit c61ad37

Please sign in to comment.