From a355d59344d4a975124a47a36dc0d43e7e5df639 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 19 Oct 2023 11:41:50 +0200 Subject: [PATCH] Fix missing type error in AccessKey --- .phpstan.neon | 5 ----- src/Helper/AccessKey.php | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.phpstan.neon b/.phpstan.neon index 8b7e85a..e4fa0be 100644 --- a/.phpstan.neon +++ b/.phpstan.neon @@ -15,11 +15,6 @@ parameters: - vendor ignoreErrors: - - - message: "#^Class Art4\\\\JsonApiClient\\\\Helper\\\\AccessKey extends generic class SplStack but does not specify its types\\: TValue$#" - count: 1 - path: src/Helper/AccessKey.php - - message: "#^Property Art4\\\\JsonApiClient\\\\V1\\\\ResourceNull\\:\\:\\$data is never read, only written\\.$#" count: 1 diff --git a/src/Helper/AccessKey.php b/src/Helper/AccessKey.php index a57558f..b647d9a 100644 --- a/src/Helper/AccessKey.php +++ b/src/Helper/AccessKey.php @@ -13,6 +13,8 @@ /** * AccessKey * + * @extends SplStack + * * @internal */ final class AccessKey extends SplStack