API Strong typing for the view layer (#193)

This commit is contained in:
Guy Sartorelli 2024-08-28 10:54:34 +12:00 committed by GitHub
parent 0cb9d96ab3
commit 1eea4a293e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ class SideReportView extends ViewableData
$this->parameters = $parameters;
}
public function forTemplate()
public function forTemplate(): string
{
$records = $this->report->records($this->parameters);
$columns = $this->report->columns();