Skip to content

Commit d4e79ef

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

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
@@ -58,7 +58,7 @@ public static function parse(ParserState $parserState, ?CSSList $list = null): ?
5858
}
5959
break;
6060
}
61-
} while (!\in_array($nextCharacter, ['{', '}'], true) || isset($stringWrapperCharacter));
61+
} while (!\in_array($nextCharacter, ['{', '}'], true) || \is_string($stringWrapperCharacter));
6262
$result->setSelectors(\implode('', $selectorParts), $list);
6363
if ($parserState->comes('{')) {
6464
$parserState->consume(1);

0 commit comments

Comments
 (0)