diff --git a/Views/ViewAbstract.php b/Views/ViewAbstract.php index 9c3a8c3e2..ffba85390 100644 --- a/Views/ViewAbstract.php +++ b/Views/ViewAbstract.php @@ -245,7 +245,7 @@ abstract class ViewAbstract implements \Serializable * @since 1.0.0 * @author Dennis Eichhorn */ - public function render() : string + public function render(...$data) : string { $path = __DIR__ . '/../..' . $this->template . '.tpl.php';