From f3c152cf09a9b96a1d46c5660c71f55538bc93e1 Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Wed, 27 Mar 2024 12:18:27 +0100 Subject: [PATCH] Add PHPStan doc tag for dependency --- src/DataStructures/Traits/StrictSplDatastructureTrait.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DataStructures/Traits/StrictSplDatastructureTrait.php b/src/DataStructures/Traits/StrictSplDatastructureTrait.php index 982223a..6eb421f 100644 --- a/src/DataStructures/Traits/StrictSplDatastructureTrait.php +++ b/src/DataStructures/Traits/StrictSplDatastructureTrait.php @@ -28,6 +28,7 @@ use OCC\Basics\DataStructures\Exceptions\InvalidDataTypeException; use OCC\Basics\DataStructures\StrictCollection; use OCC\Basics\Traits\TypeChecker; use OutOfRangeException; +use SplDoublyLinkedList; use function get_debug_type; use function iterator_to_array; @@ -46,6 +47,7 @@ use function unserialize; * @package Basics\DataStructures * * @template AllowedType of mixed + * @phpstan-require-extends SplDoublyLinkedList */ trait StrictSplDatastructureTrait {