'boolean']; } public function site(): BelongsTo { return $this->belongsTo(Site::class); } public function content(): MorphTo { return $this->morphTo(__FUNCTION__, 'content_type', 'content_id'); } }