Skip to content

Commit

Permalink
psalm.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Mar 4, 2022
1 parent 3f047dd commit d11f0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OutputFilter/AttributesOutputFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __invoke(string $html, Asset $asset): string
libxml_use_internal_errors(true);
@$doc->loadHTML(
/** @psalm-suppress ArgumentTypeCoercion */
(string) mb_convert_encoding($html, 'HTML-ENTITIES', "UTF-8"),
mb_convert_encoding($html, 'HTML-ENTITIES', "UTF-8"),
LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD
);
libxml_clear_errors();
Expand Down

0 comments on commit d11f0f3

Please sign in to comment.