Skip to content

Commit

Permalink
phpstan: Ignore Container::getComponents() returning incorrect type
Browse files Browse the repository at this point in the history
This is a phpstan-nette bug.
  • Loading branch information
jtojnar committed Jan 17, 2025
1 parent 07a1009 commit 9533530
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@ parameters:
paths:
- src
- .docs

ignoreErrors:
# https://github.com/phpstan/phpstan-nette/issues/141
-
message: '#^Parameter \#1 \$array of function array_filter expects array, Iterator\<int\|string, Nette\\ComponentModel\\IComponent\> given\.$#'
identifier: argument.type
count: 3
path: src/Multiplier.php

0 comments on commit 9533530

Please sign in to comment.