Skip to content

Commit b21b7a8

Browse files
committed
fixed CS
1 parent fe5b8aa commit b21b7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Crawler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function addHtmlContent($content, $charset = 'UTF-8')
156156
$dom = new \DOMDocument('1.0', $charset);
157157
$dom->validateOnParse = true;
158158

159-
set_error_handler(function () {throw new \Exception();});
159+
set_error_handler(function () { throw new \Exception(); });
160160

161161
try {
162162
// Convert charset to HTML-entities to work around bugs in DOMDocument::loadHTML()

0 commit comments

Comments
 (0)