Skip to content

Commit

Permalink
IteratorPlugin: Remove unused psalm annotation
Browse files Browse the repository at this point in the history
This bug doesn't occur any more due to c7874df
  • Loading branch information
jnvsor committed Jan 2, 2025
1 parent 2bd133b commit 17bb2f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Binary file modified build/kint.phar
Binary file not shown.
4 changes: 0 additions & 4 deletions src/Parser/IteratorPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ public function parseComplete(&$var, AbstractValue $v, int $trigger): AbstractVa
$c = $v->getContext();

foreach (self::$blacklist as $class) {
/**
* @psalm-suppress RedundantCondition
* Psalm bug #11076
*/
if ($var instanceof $class) {
$base = new BaseContext($class.' Iterator Contents');
$base->depth = $c->getDepth() + 1;
Expand Down

0 comments on commit 17bb2f9

Please sign in to comment.