Skip to content

Commit 4d53185

Browse files
JakeQZoliverklee
andauthored
Use is_string rather than isset
Co-authored-by: Oliver Klee <github@oliverklee.de>
1 parent 3fe6d13 commit 4d53185

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
@@ -49,7 +49,7 @@ public static function parse(ParserState $parserState, ?CSSList $list = null): ?
4949
case '\'':
5050
// The fallthrough is intentional.
5151
case '"':
52-
if (!isset($stringWrapperCharacter)) {
52+
if (!\is_string($stringWrapperCharacter)) {
5353
$stringWrapperCharacter = $nextCharacter;
5454
} elseif ($stringWrapperCharacter === $nextCharacter) {
5555
if (\substr(\end($selectorParts), -1) !== '\\') {

0 commit comments

Comments
 (0)