diff --git a/app/Models/Attachment.php b/app/Models/Attachment.php index 5a9eb1f..b273abc 100644 --- a/app/Models/Attachment.php +++ b/app/Models/Attachment.php @@ -27,12 +27,14 @@ class Attachment extends Model * @var string[] */ protected $attributes = [ - 'private' => 'false', + 'private' => false, ]; /** * Get attachments attachable + * + * @return MorphTo */ public function attachable(): MorphTo { @@ -41,6 +43,8 @@ class Attachment extends Model /** * Get the media for this attachment. + * + * @return BelongsTo */ public function media(): BelongsTo {