From 9fd7fdaec9271b76553b01f33952439856c9f73a Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Tue, 21 Nov 2023 18:04:25 +0100 Subject: [PATCH] Remove redundant public method --- src/DataStructures/StrictList.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/DataStructures/StrictList.php b/src/DataStructures/StrictList.php index a93a4d4..e90b897 100644 --- a/src/DataStructures/StrictList.php +++ b/src/DataStructures/StrictList.php @@ -115,16 +115,6 @@ class StrictList extends SplDoublyLinkedList } } - /** - * Get the allowed item types. - * - * @return string[] The list of allowed item types - */ - public function getAllowedTypes(): array - { - return $this->allowedTypes; - } - /** * Check if item is an allowed type. *