From 64e89a516d1de36cc2a7d8ed89a0c4574ebb0a00 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 18 May 2020 10:01:51 -0400 Subject: [PATCH] Restore default parameter value in Core\Renderer::replaceMacros --- src/Core/Renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Renderer.php b/src/Core/Renderer.php index d0c970b9f..40b3fb118 100644 --- a/src/Core/Renderer.php +++ b/src/Core/Renderer.php @@ -73,7 +73,7 @@ class Renderer * @return string * @throws InternalServerErrorException */ - public static function replaceMacros(string $template, array $vars) + public static function replaceMacros(string $template, array $vars = []) { $stamp1 = microtime(true);