]> git.mxchange.org Git - friendica.git/commitdiff
Restore default parameter value in Core\Renderer::replaceMacros
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 18 May 2020 14:01:51 +0000 (10:01 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 18 May 2020 14:01:51 +0000 (10:01 -0400)
src/Core/Renderer.php

index d0c970b9fbb3a5156ce52d12d205faee58488ecc..40b3fb118612347c28b4f92a633643bdd40c2af3 100644 (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);