Skip to content

Commit

Permalink
Fix Collection::copy()
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Sep 16, 2021
1 parent e1ccc85 commit 8a7a445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/ext-ds.stub
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ use UnderflowException;
interface Collection extends Traversable, Countable, JsonSerializable
{
/**
* @return Collection<TKey, TValue>
* @return static<TKey, TValue>
*/
public function copy(): Collection;
public function copy(): static;

/**
* @return array<TKey, TValue>
Expand Down

0 comments on commit 8a7a445

Please sign in to comment.