Skip to content

Commit a6eb653

Browse files
CS fixes
1 parent 4632ae3 commit a6eb653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Crawler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,11 +1222,11 @@ private function convertToHtmlEntities(string $htmlContent, string $charset = 'U
12221222

12231223
try {
12241224
return mb_convert_encoding($htmlContent, 'HTML-ENTITIES', $charset);
1225-
} catch (\Exception | \ValueError $e) {
1225+
} catch (\Exception|\ValueError $e) {
12261226
try {
12271227
$htmlContent = iconv($charset, 'UTF-8', $htmlContent);
12281228
$htmlContent = mb_convert_encoding($htmlContent, 'HTML-ENTITIES', 'UTF-8');
1229-
} catch (\Exception | \ValueError $e) {
1229+
} catch (\Exception|\ValueError $e) {
12301230
}
12311231

12321232
return $htmlContent;

0 commit comments

Comments
 (0)