From b018b11c573fef0f8971809a3e36c1a8f9bf2d22 Mon Sep 17 00:00:00 2001 From: James Collins Date: Mon, 10 Apr 2023 14:48:55 +1000 Subject: [PATCH] fix docs --- app/Models/Post.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Models/Post.php b/app/Models/Post.php index c3ed935..e2a6e0e 100644 --- a/app/Models/Post.php +++ b/app/Models/Post.php @@ -5,6 +5,7 @@ namespace App\Models; use App\Traits\Uuids; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\MorphMany; class Post extends Model { @@ -38,6 +39,8 @@ class Post extends Model /** * Get all of the post's attachments. + * + * @return MorphMany */ public function attachments() {