Skip to content

Commit 145ef02

Browse files
authored
fix (client/ModSearchOptions) fixed typo in type of setModLoaderType
1 parent 1f3c61f commit 145ef02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Client/Options/ModSearch/ModSearchOptions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ public function getModLoaderType(): ?ModLoaderType
172172
}
173173

174174
/**
175-
* @param int|null $modLoaderType
175+
* @param ModLoaderType|null $modLoaderType
176176
* @return $this
177177
*/
178-
public function setModLoaderType(?int $modLoaderType): static
178+
public function setModLoaderType(?ModLoaderType $modLoaderType): static
179179
{
180180
$this->modLoaderType = $modLoaderType;
181181
return $this;
@@ -270,4 +270,4 @@ public function setPageSize(int $pageSize): static
270270
$this->pageSize = $pageSize;
271271
return $this;
272272
}
273-
}
273+
}

0 commit comments

Comments
 (0)