public function scopeFullSearch(Builder $query, ?string $search = null): Builder 	{ 		$search = preg_replace('/\s+/', '%', $search ?? ''); 		$search = empty($search) ? null : '%' . $search . '%';  		return !$search ? $query : $query->where(function (Builder $query) use ($search): void { 			$query->orWhere('id', 'like', $search) 				->orWhere('title', 'like', $search) 				->orWhere('slug', 'like', $search) 				->orWhere('author', 'like', $search) 				->orWhere('body', 'like', $search) 				->orWhereHas('blogCategory', function (Builder $query) use ($search): void { 					$query->where('name', 'like', $search); 				}); 		}); 	}