Skip to content

Commit 90352c8

Browse files
committed
phpstan fix
1 parent 150e258 commit 90352c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Checks/Meta/InvalidHeadElementsCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function validateContent(Response $response): bool
7878

7979
// Extract tags from the cleaned content
8080
preg_match_all('/<([a-zA-Z][a-zA-Z0-9]*)[^>]*>/i', $headContentWithoutTemplates, $matches);
81-
$headTags = $matches[1] ?? [];
81+
$headTags = $matches[1];
8282

8383
if (empty($headTags)) {
8484
// No elements in head section

0 commit comments

Comments
 (0)