From 5027be7f210dc0c1e57d72e019f557888c4d9f23 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 15 Oct 2019 19:00:53 +0300 Subject: [PATCH] feat(core): YAML parsing will be cached in production #263 --- flextype/twig/ParserTwigExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/twig/ParserTwigExtension.php b/flextype/twig/ParserTwigExtension.php index f2a31cef..80ad25aa 100644 --- a/flextype/twig/ParserTwigExtension.php +++ b/flextype/twig/ParserTwigExtension.php @@ -60,7 +60,7 @@ class ParserTwigExtension extends Twig_Extension /** * Decode */ - public function decode(string $input, string $parser, bool $cache) + public function decode(string $input, string $parser, bool $cache = true) { return $this->flextype['parser']->decode($input, $parser, $cache); }