Skip to content

Commit 3fe6d13

Browse files
JakeQZoliverklee
andauthored
Add comment about fallthrough in switch
Co-authored-by: Oliver Klee <github@oliverklee.de>
1 parent a24115f commit 3fe6d13

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/RuleSet/DeclarationBlock.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static function parse(ParserState $parserState, ?CSSList $list = null): ?
4747
$nextCharacter = $parserState->peek();
4848
switch ($nextCharacter) {
4949
case '\'':
50+
// The fallthrough is intentional.
5051
case '"':
5152
if (!isset($stringWrapperCharacter)) {
5253
$stringWrapperCharacter = $nextCharacter;

0 commit comments

Comments
 (0)