public function scopeSearch(Builder $query, ?string $search = null): Builder 	{ 		return !$search ? $query : $query->whereHas('user', function ($query) use ($search): void { 			$query->search($search); 		}); 	}