Skip to content

Commit f9b3583

Browse files
hmongleedamonsson
authored andcommitted
Use Twig\Environment instead of Twig_Environment
1 parent 3fd8668 commit f9b3583

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Twig/Parser/ContentParser.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@
1010

1111
namespace BitBag\SyliusCmsPlugin\Twig\Parser;
1212

13+
use Twig\Environment;
1314
use Webmozart\Assert\Assert;
1415

1516
final class ContentParser implements ContentParserInterface
1617
{
17-
/** @var \Twig_Environment */
18+
/** @var Environment */
1819
private $twigEnvironment;
1920

2021
/** @var array */
2122
private $enabledFunctions;
2223

23-
public function __construct(\Twig_Environment $twigEnvironment, array $enabledFunctions)
24+
public function __construct(Environment $twigEnvironment, array $enabledFunctions)
2425
{
2526
$this->twigEnvironment = $twigEnvironment;
2627
$this->enabledFunctions = $enabledFunctions;

0 commit comments

Comments
 (0)