From 1d5abe196bb6fcc38c1bcb9c91e544a66ec352ed Mon Sep 17 00:00:00 2001 From: hxtree Date: Sun, 2 Jan 2022 01:33:42 -0600 Subject: [PATCH] Add argument exclusions --- phpstan.neon | 5 ++++- src/ArgumentArray.php | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 559adaa..b7da385 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -5,4 +5,7 @@ parameters: ignoreErrors: - message: '#Argument of an invalid type Ouxsoft\\PHPMarkup\\Contract\\ElementPoolInterface supplied for foreach, only iterables are supported#' path: src/Engine.php - count: 2 \ No newline at end of file + count: 2 + - message: '#mixed#' + path: src/ArgumentArray.php + count: 2 diff --git a/src/ArgumentArray.php b/src/ArgumentArray.php index a2d646b..ba35a7f 100644 --- a/src/ArgumentArray.php +++ b/src/ArgumentArray.php @@ -43,11 +43,6 @@ class ArgumentArray implements */ private $index = 0; - /** - * @var array keys contain a list of arrays stored - */ - private $keys = []; - /** * Set a value type to avoid Type Juggling issues and extend data types *