From cca0b6651f5452fe3e3956e6271fb66291c2f97c Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Fri, 23 Aug 2024 09:39:33 +1200 Subject: [PATCH] API Strong typing for the view layer --- docs/en/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/index.md b/docs/en/index.md index 3b69a91..f068f67 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -205,7 +205,7 @@ $Entry StaffMember.php ```php -public function forTemplate() +public function forTemplate(): string { return $this->renderWith(static::class); }