<?php  namespace App\Traits;  use App\Models\Comment; use Illuminate\Database\Eloquent\Relations\MorphMany;  trait IsCommentsAuthor { 	protected static function bootIsCommentsAuthor(): void 	{ 		static::deleting(static function (object $model): void { 			$model->comments->each(static function (Comment $item): void { 				$item->delete(); 			}); 		}); 	}  	public function comments(): MorphMany{} }