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 59da3f0 commit cca0b66
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 cca0b66

Please sign in to comment.