mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-01 21:17:21 +00:00
Deprecation documentation indentation
Fix the indentation in Errors on "Deprecated Features" and add missing full stop
This commit is contained in:
+4
-4
@@ -21,9 +21,9 @@ Inheritance
|
||||
Errors
|
||||
------
|
||||
|
||||
* Passing a string as the ``$source`` argument on ``\Twig\Error\Error`` /
|
||||
``Twig\Error\Error`` constructor is deprecated since Twig 2.6.1. Pass an
|
||||
instance of ``Twig\Source`` instead.
|
||||
* Passing a string as the ``$source`` argument on ``\Twig\Error\Error`` /
|
||||
``Twig\Error\Error`` constructor is deprecated since Twig 2.6.1. Pass an
|
||||
instance of ``Twig\Source`` instead.
|
||||
|
||||
Tags
|
||||
----
|
||||
@@ -41,7 +41,7 @@ Tags
|
||||
|
||||
* Adding an ``if`` condition on a ``for`` tag is deprecated in Twig 2.10. Use a
|
||||
``filter`` filter or an "if" condition inside the "for" body instead (if your condition
|
||||
depends on a variable updated inside the loop)
|
||||
depends on a variable updated inside the loop).
|
||||
|
||||
Final Classes
|
||||
-------------
|
||||
|
||||
Reference in New Issue
Block a user