diff --git a/src/Helper/HeadLink.php b/src/Helper/HeadLink.php index 7ae2f53c..483237e9 100644 --- a/src/Helper/HeadLink.php +++ b/src/Helper/HeadLink.php @@ -383,6 +383,7 @@ public function createDataStylesheet(array $args) $media = 'screen'; $conditionalStylesheet = false; $href = array_shift($args); + $extras = []; if ($this->isDuplicateStylesheet($href)) { return false; @@ -452,6 +453,7 @@ public function createDataAlternate(array $args) $href = array_shift($args); $type = array_shift($args); $title = array_shift($args); + $extras = []; if ($args && is_array($args[0])) { $extras = array_shift($args);