Skip to content

Commit

Permalink
use Twig\Environment instead Twig_Environment (#20)
Browse files Browse the repository at this point in the history
* fix symfony security threat CVE-2019-10910

* use Twig\Environment instead Twig_Environment

(which is deprecated from v2.7)

twigphp/Twig#3319
  • Loading branch information
novotnicek authored Aug 19, 2021
1 parent 11f957a commit 7fb182a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/RenderBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
*/
class RenderBlock
{
/** @var \Twig_Environment */
/** @var \Twig\Environment */
private $twig;

public function __construct(\Twig_Environment $twig)
public function __construct(\Twig\Environment $twig)
{
$this->twig = $twig;
}
Expand Down

0 comments on commit 7fb182a

Please sign in to comment.