Skip to content

Commit 1d5abe1

Browse files
committed
Add argument exclusions
1 parent 36cae69 commit 1d5abe1

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

phpstan.neon

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ parameters:
55
ignoreErrors:
66
- message: '#Argument of an invalid type Ouxsoft\\PHPMarkup\\Contract\\ElementPoolInterface supplied for foreach, only iterables are supported#'
77
path: src/Engine.php
8-
count: 2
8+
count: 2
9+
- message: '#mixed#'
10+
path: src/ArgumentArray.php
11+
count: 2

src/ArgumentArray.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ class ArgumentArray implements
4343
*/
4444
private $index = 0;
4545

46-
/**
47-
* @var array keys contain a list of arrays stored
48-
*/
49-
private $keys = [];
50-
5146
/**
5247
* Set a value type to avoid Type Juggling issues and extend data types
5348
*

0 commit comments

Comments
 (0)