Skip to content

Commit d766711

Browse files
JakeQZoliverklee
andauthored
Assign to null rather than use unset()
Co-authored-by: Oliver Klee <github@oliverklee.de>
1 parent 4d53185 commit d766711

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/RuleSet/DeclarationBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static function parse(ParserState $parserState, ?CSSList $list = null): ?
5353
$stringWrapperCharacter = $nextCharacter;
5454
} elseif ($stringWrapperCharacter === $nextCharacter) {
5555
if (\substr(\end($selectorParts), -1) !== '\\') {
56-
unset($stringWrapperCharacter);
56+
$stringWrapperCharacter = null;
5757
}
5858
}
5959
break;

0 commit comments

Comments
 (0)