From 88f79b8dd51d770836373ad8196613a970f4c4f1 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 22 Aug 2024 14:26:35 +1200 Subject: [PATCH] API Strong typing for the view layer --- code/SideReportView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/SideReportView.php b/code/SideReportView.php index 0c09a725..5a79526c 100644 --- a/code/SideReportView.php +++ b/code/SideReportView.php @@ -37,7 +37,7 @@ public function setParameters($parameters) $this->parameters = $parameters; } - public function forTemplate() + public function forTemplate(): string { $records = $this->report->records($this->parameters); $columns = $this->report->columns();