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