<?php  namespace App\Traits;  use App\Models\Comment; use Illuminate\Http\Request; use Illuminate\Database\Eloquent\Relations\MorphMany;  trait HasComments { 	protected static function bootHasComments(): void 	{ 		static::deleting(static function (object $model): void { 			$model->comments->each(static function (Comment $item): void { 				$item->delete(); 			}); 		}); 	}  	public function comments(): MorphMany{}  	public function createComment(Request $request): Comment{}  	public function commentsAuthorsId(array $excludes = []): array{} }