Skip to content

Commit

Permalink
Fix type annotation of ModSearchOptions->setSortOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Dec 14, 2023
1 parent d2a2f01 commit d3a5da8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Client/Options/ModSearch/ModSearchOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ public function getSortOrder(): ?SortOrder
}

/**
* @param string|null $sortOrder
* @param SortOrder|null $sortOrder
* @return $this
*/
public function setSortOrder(?string $sortOrder): static
public function setSortOrder(?SortOrder $sortOrder): static
{
$this->sortOrder = $sortOrder;
return $this;
Expand Down

0 comments on commit d3a5da8

Please sign in to comment.