From 5b6b3a8eb1da0ed638bfe6d7812f3b3dbae5c90b Mon Sep 17 00:00:00 2001 From: Adrien Dupuis Date: Mon, 18 Dec 2023 10:27:19 +0100 Subject: [PATCH] AbstractInMemoryCollection.php: Fix phpstan VS phpdoc --- src/contracts/Collection/AbstractInMemoryCollection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contracts/Collection/AbstractInMemoryCollection.php b/src/contracts/Collection/AbstractInMemoryCollection.php index 529cbeea85..5acfc79edb 100644 --- a/src/contracts/Collection/AbstractInMemoryCollection.php +++ b/src/contracts/Collection/AbstractInMemoryCollection.php @@ -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 = []) {