diff --git a/code/app/services/NovelService.php b/code/app/services/NovelService.php index bd6fbb7..c9e6794 100644 --- a/code/app/services/NovelService.php +++ b/code/app/services/NovelService.php @@ -204,11 +204,11 @@ class NovelService /** * Undocumented function * - * @param string $strKeyWords - * @param integer|string $intPage + * @param string|null $strKeyWords + * @param integer|string|null $intPage * @return string */ - public function getNovelSearchUrl(string $strKeyWords, int|string $intPage = 1): string + public function getNovelSearchUrl(string|Null $strKeyWords, int|string|Null $intPage = 1): string { $strKey = 'SEARCH_INFO_URL'; $strUrl = $this->SiteContext->DomainModel->getFomartUrl($strKey, [