Skip to content

Commit

Permalink
AbstractInMemoryCollection.php: Fix phpstan VS phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed Dec 18, 2023
1 parent d60aaa6 commit 5b6b3a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contracts/Collection/AbstractInMemoryCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
*/
abstract class AbstractInMemoryCollection implements CollectionInterface, StreamableInterface
{
/** @var TValue[] */
/** @phpstan-var TValue[] */
protected array $items;

/**
* @param TValue[] $items
* @phpstan-param TValue[] $items
*/
public function __construct(array $items = [])
{
Expand Down

0 comments on commit 5b6b3a8

Please sign in to comment.