| 1 | <?php |
||
| 8 | class Collection extends \ArrayIterator implements ResultInterface |
||
| 9 | 5 | { |
|
| 10 | public function __construct($files = [], ContainerInterface $container = null) |
||
| 20 | 1 | ||
| 21 | public function clear() |
||
| 28 | 2 | ||
| 29 | public function confirm() |
||
| 36 | 2 | ||
| 37 | public function isValid():bool |
||
| 47 | 2 | ||
| 48 | public function getMessages():array |
||
| 58 | } |
||
| 59 |
It seems like you allow that null is being passed for a parameter, however the function which is called does not seem to accept null.
We recommend to add an additional type check (or disallow null for the parameter):