Skip to content

Commit

Permalink
update twig v2 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
addfs authored Jun 13, 2022
1 parent 615ec5e commit 8f74639
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Twig/TimedTwigEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ class TimedTwigEngine extends TwigEngine
/**
* Constructor.
*
* @param \Twig_Environment $environment A \Twig_Environment instance
* @param \Twig\Environment $environment A \Twig\Environment instance
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
* @param FileLocatorInterface $locator A FileLocatorInterface instance
* @param Stopwatch $stopwatch A Stopwatch instance
*/
public function __construct(\Twig_Environment $environment, TemplateNameParserInterface $parser, FileLocatorInterface $locator, Stopwatch $stopwatch)
public function __construct(\Twig\Environment $environment, TemplateNameParserInterface $parser, FileLocatorInterface $locator, Stopwatch $stopwatch)
{
parent::__construct($environment, $parser, $locator);

Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
"symfony/yaml": "~2.8|~3.0|^4.0|^5.0"
},
"autoload": {
"psr-0": {
"psr-4": {
"Intaro\\PinbaBundle\\": ""
}
},
"target-dir" : "Intaro/PinbaBundle"
}
}

0 comments on commit 8f74639

Please sign in to comment.