Skip to content

Commit

Permalink
API Strong typing for the view layer
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Aug 22, 2024
1 parent 6f84505 commit 22ab492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/SideReportView.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 22ab492

Please sign in to comment.