From 08393dd1cc5c5bc72e232c5b18af68e064ec8362 Mon Sep 17 00:00:00 2001 From: dyszczo <krzysiek@inspirelabs.pl> Date: Thu, 18 Oct 2018 15:44:18 +0200 Subject: [PATCH] fix for invalid interface implementation --- src/Renderer/LoadTemplatePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/LoadTemplatePlugin.php b/src/Renderer/LoadTemplatePlugin.php index 7729af9..0a66a2b 100644 --- a/src/Renderer/LoadTemplatePlugin.php +++ b/src/Renderer/LoadTemplatePlugin.php @@ -21,7 +21,7 @@ class LoadTemplatePlugin implements Renderer { } - public function render( $template, $params ) { + public function render($template, array $params = null) { return $this->plugin->load_template($template, $this->path, $params); } } -- GitLab