From e4b7861a4e1a6494e1f588b7b1ae61c95dadeb11 Mon Sep 17 00:00:00 2001 From: Graham Aitken Date: Tue, 21 May 2024 15:14:15 +0100 Subject: [PATCH] Add qualified return type --- app/Traits/HasPageView.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Traits/HasPageView.php b/app/Traits/HasPageView.php index 7bd88668..45dfa121 100644 --- a/app/Traits/HasPageView.php +++ b/app/Traits/HasPageView.php @@ -31,7 +31,11 @@ public function getTitle(): string return $this->title ?? ''; } - /** The relationship for the resource's content blocks. */ + /** + * The relationship for the resource's content blocks. + * + * @return HasMany + */ public function blocks(): HasMany { return $this->hasMany(Block::class, 'parent_id')