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() {