1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 13:44:12 +02:00

[ticket/16382] Update remaining Twig_ references

PHPBB3-16382
This commit is contained in:
mrgoldy
2020-02-27 17:15:31 +01:00
parent 75c25556aa
commit 49845c1155
19 changed files with 56 additions and 56 deletions

View File

@@ -29,7 +29,7 @@ class includephp extends \Twig\Node\Node
/**
* Compiles the node to PHP.
*
* @param \Twig\Compiler A Twig_Compiler instance
* @param \Twig\Compiler A Twig\Compiler instance
*/
public function compile(\Twig\Compiler $compiler)
{
@@ -80,7 +80,7 @@ class includephp extends \Twig\Node\Node
{
$compiler
->outdent()
->write("} catch (\Twig_Error_Loader \$e) {\n")
->write("} catch (\Twig\Error\LoaderError \$e) {\n")
->indent()
->write("// ignore missing template\n")
->outdent()