public function scopeFullSearch(Builder $query, ?string $search = null): Builder 	{ 		$search = preg_replace('/\s+/', '%', $search ?? ''); 		$search = empty($search) ? null : '%' . $search . '%';  		return !$search ? $query : $query 			->where('name', 'like', '%' . $search . '%') 			->orWhere('sku', 'like', '%' . $search . '%') 			->orWhere('description', 'like', '%' . $search . '%') 			->orWhere('color', 'like', '%' . $search . '%') 			->orWhereHas('manufacturer', function ($query) use ($search) { 				$query->where('title', 'like', '%' . $search . '%'); 			}); 	}