Restore default parameter value in Core\Renderer::replaceMacros

This commit is contained in:
Hypolite Petovan 2020-05-18 10:01:51 -04:00
parent ef9b51e631
commit 64e89a516d

View file

@ -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);