mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 02:46:29 +00:00
fix: deprecated documentation
Co-authored-by: Bertrand Zuchuat <bertrand.zuchuat@gmail.com>
This commit is contained in:
+2
-2
@@ -455,7 +455,7 @@ Operators
|
||||
as of Twig 3.21, use ``Twig\Extension\ExtensionInterface::getExpressionParsers()``
|
||||
instead:
|
||||
|
||||
Before:
|
||||
Before::
|
||||
|
||||
public function getOperators(): array {
|
||||
return [
|
||||
@@ -466,7 +466,7 @@ Operators
|
||||
];
|
||||
}
|
||||
|
||||
After:
|
||||
After::
|
||||
|
||||
public function getExpressionParsers(): array {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user