Skip to content

Commit

Permalink
qa: narrow down combine types
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Aug 22, 2024
1 parent a359f2c commit 78e4fe9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/OrderedListInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,9 @@ public function shuffle(): self;
/**
* Combines multiple lists into one.
*
* @template TValueFromOther of TValue
* @param OrderedListInterface<TValueFromOther> $other
* @param OrderedListInterface<TValueFromOther> ...$others
* @return OrderedListInterface<TValue|TValueFromOther>
* @param OrderedListInterface<TValue> $other
* @param OrderedListInterface<TValue> ...$others
* @return OrderedListInterface<TValue>
*/
public function combine(OrderedListInterface $other, OrderedListInterface ...$others): self;
}

0 comments on commit 78e4fe9

Please sign in to comment.