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 639f93e commit 49b8ecaCopy full SHA for 49b8eca
src/Utils/StyleBuilder.php
@@ -54,10 +54,7 @@ public function setOutputType(int $outputType): void
54
$this->outputType = $outputType;
55
}
56
57
- /**
58
- * @param DOMElement|null $styleElement
59
- */
60
- public function compile($styleElement): ?string
+ public function compile(?DOMElement $styleElement): ?string
61
{
62
if (!$styleElement instanceof DOMElement
63
|| ($styleElement->hasAttribute('scoped') && !($this->outputType & self::STYLE_SCOPED))
0 commit comments