Skip to content

Commit

Permalink
minor #3243 Syntax error in doc (JakeFr)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.x branch.

Discussion
----------

Syntax error in doc

This code sample in advanced.rst is not highlighted in php because the second semicolon is missing

Commits
-------

fbfac78 Syntax error in doc
  • Loading branch information
fabpot committed Jan 13, 2020
2 parents 0ee1c70 + fbfac78 commit ad9d4e9
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 ad9d4e9

Please sign in to comment.