Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Use Twig_Extension_GlobalsInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
David Fuhr committed Jan 25, 2016
1 parent 202cfaf commit fcaabb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Twig/FlagbitCurrencyExtension.php
Expand Up @@ -4,8 +4,9 @@

use Flagbit\Bundle\CurrencyBundle\Service\Currency;
use Twig_Extension;
use Twig_Extension_GlobalsInterface;

class FlagbitCurrencyExtension extends Twig_Extension
class FlagbitCurrencyExtension extends Twig_Extension implements Twig_Extension_GlobalsInterface
{
/**
* @var Currency
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -26,7 +26,7 @@

"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~1.5",
"twig/twig": "~1.12"
"twig/twig": "~1.23"
},
"autoload": {
"psr-0": {
Expand Down

0 comments on commit fcaabb3

Please sign in to comment.