mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
API Strong typing for the view layer (#193)
This commit is contained in:
parent
0cb9d96ab3
commit
1eea4a293e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user