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 150e258 commit 90352c8Copy full SHA for 90352c8
src/Checks/Meta/InvalidHeadElementsCheck.php
@@ -78,7 +78,7 @@ public function validateContent(Response $response): bool
78
79
// Extract tags from the cleaned content
80
preg_match_all('/<([a-zA-Z][a-zA-Z0-9]*)[^>]*>/i', $headContentWithoutTemplates, $matches);
81
- $headTags = $matches[1] ?? [];
+ $headTags = $matches[1];
82
83
if (empty($headTags)) {
84
// No elements in head section
0 commit comments