@@ -161,7 +161,7 @@ |
||
161 | 161 | |
162 | 162 | /** |
163 | 163 | * @param string $html |
164 | - * @return array|false|string |
|
164 | + * @return string |
|
165 | 165 | */ |
166 | 166 | protected function convertToHtmlEntities($html) |
167 | 167 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | if ($useHtml5Parser) { |
34 | - if (! class_exists(HTML5::class)) { |
|
34 | + if (!class_exists(HTML5::class)) { |
|
35 | 35 | throw new LogicException('Using the HTML5 parser requires the html5-php library. Try running "composer require masterminds/html5".'); |
36 | 36 | } |
37 | 37 |