mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-01 13:07:22 +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
|
||||
``\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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user