From c7a615143ee188a189df31b0c3b417b128c0a177 Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Tue, 21 Nov 2023 23:40:24 +0100 Subject: [PATCH] Add PHPDoc for magically readable properties --- src/DataStructures/StrictList.php | 2 ++ src/DataStructures/StrictQueue.php | 2 ++ src/DataStructures/StrictStack.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/DataStructures/StrictList.php b/src/DataStructures/StrictList.php index 6346ba1..14adceb 100644 --- a/src/DataStructures/StrictList.php +++ b/src/DataStructures/StrictList.php @@ -32,6 +32,8 @@ use OCC\Basics\Traits\Getter; * @author Sebastian Meyer * @package opencultureconsulting/basics * + * @property-read string[] $allowedTypes + * * @template AllowedType * @extends SplDoublyLinkedList */ diff --git a/src/DataStructures/StrictQueue.php b/src/DataStructures/StrictQueue.php index e7a5f01..10c9c14 100644 --- a/src/DataStructures/StrictQueue.php +++ b/src/DataStructures/StrictQueue.php @@ -30,6 +30,8 @@ use RuntimeException; * @author Sebastian Meyer * @package opencultureconsulting/basics * + * @property-read string[] $allowedTypes + * * @template AllowedType * @extends StrictList */ diff --git a/src/DataStructures/StrictStack.php b/src/DataStructures/StrictStack.php index 65df471..965af6d 100644 --- a/src/DataStructures/StrictStack.php +++ b/src/DataStructures/StrictStack.php @@ -30,6 +30,8 @@ use RuntimeException; * @author Sebastian Meyer * @package opencultureconsulting/basics * + * @property-read string[] $allowedTypes + * * @template AllowedType * @extends StrictList */