Skip to content

Commit

Permalink
Add argument exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
hxtree committed Jan 2, 2022
1 parent 36cae69 commit 1d5abe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 4 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
count: 2
- message: '#mixed#'
path: src/ArgumentArray.php
count: 2
5 changes: 0 additions & 5 deletions src/ArgumentArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 1d5abe1

Please sign in to comment.