From: Hypolite Petovan Date: Mon, 18 May 2020 14:01:51 +0000 (-0400) Subject: Restore default parameter value in Core\Renderer::replaceMacros X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64e89a516d1de36cc2a7d8ed89a0c4574ebb0a00;p=friendica.git Restore default parameter value in Core\Renderer::replaceMacros --- diff --git a/src/Core/Renderer.php b/src/Core/Renderer.php index d0c970b9fb..40b3fb1186 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);