mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
Syntax error in doc
This code sample in advanced.rst is not highlighted in php because the second semicolon is missing
This commit is contained in:
+1
-1
@@ -660,7 +660,7 @@ An extension is a class that implements the following interface::
|
|||||||
|
|
||||||
To keep your extension class clean and lean, inherit from the built-in
|
To keep your extension class clean and lean, inherit from the built-in
|
||||||
``\Twig\Extension\AbstractExtension`` class instead of implementing the interface as it provides
|
``\Twig\Extension\AbstractExtension`` class instead of implementing the interface as it provides
|
||||||
empty implementations for all methods:
|
empty implementations for all methods::
|
||||||
|
|
||||||
class Project_Twig_Extension extends \Twig\Extension\AbstractExtension
|
class Project_Twig_Extension extends \Twig\Extension\AbstractExtension
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user