Skip to content

Commit 49b8eca

Browse files
committed
Change style builder
1 parent 639f93e commit 49b8eca

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Utils/StyleBuilder.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ public function setOutputType(int $outputType): void
5454
$this->outputType = $outputType;
5555
}
5656

57-
/**
58-
* @param DOMElement|null $styleElement
59-
*/
60-
public function compile($styleElement): ?string
57+
public function compile(?DOMElement $styleElement): ?string
6158
{
6259
if (!$styleElement instanceof DOMElement
6360
|| ($styleElement->hasAttribute('scoped') && !($this->outputType & self::STYLE_SCOPED))

0 commit comments

Comments
 (0)