We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cddf0b7 commit 9e84835Copy full SHA for 9e84835
src/Check/CodeExistsCheck.php
@@ -52,7 +52,7 @@ public function handleError(Error $error): void
52
53
if (!$empty) {
54
$openingTag = is_array($statements) && count($statements) === 1 ? $statements[0] : null;
55
- $empty = $openingTag instanceof InlineHTML ? in_array($openingTag->value, ['<?php', '<?']) : false;
+ $empty = $openingTag instanceof InlineHTML && in_array($openingTag->value, ['<?php', '<?']);
56
}
57
58
if ($empty) {
0 commit comments