Skip to content

Commit

Permalink
Merge branch '2.x' into 3.x
Browse files Browse the repository at this point in the history
* 2.x:
  Syntax error in doc
  • Loading branch information
fabpot committed Jan 13, 2020
2 parents 7cd1fc2 + e52bcf6 commit 44638e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,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 44638e9

Please sign in to comment.