Skip to content

Commit

Permalink
Merge pull request #369 from annervisser/remove-override-of-template-…
Browse files Browse the repository at this point in the history
…type-causing-psalm-errors

Remove override of template type for contains(): causing psalm errors
  • Loading branch information
greg0ire authored May 11, 2023
2 parents a72b781 + 71a25d7 commit 6026a70
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/AbstractLazyCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ public function clear()

/**
* {@inheritDoc}
*
* @template TMaybeContained
*/
public function contains(mixed $element)
{
Expand Down
2 changes: 0 additions & 2 deletions src/ArrayCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@ public function containsKey(string|int $key)

/**
* {@inheritDoc}
*
* @template TMaybeContained
*/
public function contains(mixed $element)
{
Expand Down

0 comments on commit 6026a70

Please sign in to comment.