From 145ef0244ca15bd06ba1587b904d408ed90746a0 Mon Sep 17 00:00:00 2001 From: Igor Date: Fri, 19 Jan 2024 11:54:50 +0700 Subject: [PATCH] fix (client/ModSearchOptions) fixed typo in type of setModLoaderType --- lib/Client/Options/ModSearch/ModSearchOptions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Client/Options/ModSearch/ModSearchOptions.php b/lib/Client/Options/ModSearch/ModSearchOptions.php index ef81b1b..88cab85 100644 --- a/lib/Client/Options/ModSearch/ModSearchOptions.php +++ b/lib/Client/Options/ModSearch/ModSearchOptions.php @@ -172,10 +172,10 @@ public function getModLoaderType(): ?ModLoaderType } /** - * @param int|null $modLoaderType + * @param ModLoaderType|null $modLoaderType * @return $this */ - public function setModLoaderType(?int $modLoaderType): static + public function setModLoaderType(?ModLoaderType $modLoaderType): static { $this->modLoaderType = $modLoaderType; return $this; @@ -270,4 +270,4 @@ public function setPageSize(int $pageSize): static $this->pageSize = $pageSize; return $this; } -} \ No newline at end of file +}