Skip to content

Commit

Permalink
HtmlPlugin: Suppress psalm error
Browse files Browse the repository at this point in the history
  • Loading branch information
jnvsor committed Aug 26, 2024
1 parent 804095a commit e1b0230
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file modified build/kint.phar
Binary file not shown.
4 changes: 4 additions & 0 deletions src/Parser/HtmlPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ public function parse(&$var, Value &$o, int $trigger): void
$r = new Representation('HTML');
$r->contents = [];

/**
* @psalm-suppress PossiblyNullIterator
* Psalm bug #11055
*/
foreach ($iter->contents as $val) {
$val->hints[] = 'omit_spl_id';
$r->contents[] = $val;
Expand Down

0 comments on commit e1b0230

Please sign in to comment.