Skip to content

Commit

Permalink
Syntax error in doc
Browse files Browse the repository at this point in the history
This code sample in advanced.rst is not highlighted in php because the second semicolon is missing
  • Loading branch information
JakeFr committed Jan 13, 2020
1 parent 0ee1c70 commit fbfac78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/advanced.rst
Expand Up @@ -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
{
Expand Down

0 comments on commit fbfac78

Please sign in to comment.