Skip to content

Commit

Permalink
API Strong typing for the view layer (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 27, 2024
1 parent 59da3f0 commit bd7730b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ $Entry

StaffMember.php
```php
public function forTemplate()
public function forTemplate(): string
{
return $this->renderWith(static::class);
}
Expand Down

0 comments on commit bd7730b

Please sign in to comment.