Skip to content

Commit 9e84835

Browse files
committed
Simplify statement
1 parent cddf0b7 commit 9e84835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Check/CodeExistsCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function handleError(Error $error): void
5252

5353
if (!$empty) {
5454
$openingTag = is_array($statements) && count($statements) === 1 ? $statements[0] : null;
55-
$empty = $openingTag instanceof InlineHTML ? in_array($openingTag->value, ['<?php', '<?']) : false;
55+
$empty = $openingTag instanceof InlineHTML && in_array($openingTag->value, ['<?php', '<?']);
5656
}
5757

5858
if ($empty) {

0 commit comments

Comments
 (0)