Skip to content

Commit 4c74e69

Browse files
authored
Update Parser.php
1 parent 8324c9a commit 4c74e69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CssEditor/CSS/Parser.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ private function parseValue($aListDelimiters) {
415415
array_splice($aStack, $iStartPosition - 1, $iLength * 2 - 1, array($oList));
416416
}
417417
}
418-
return $aStack[0];
418+
$aStack = isset($aStack[0]) ? $aStack[0] : null ;
419+
return $aStack;
419420
}
420421

421422
private static function listDelimiterForRule($sRule) {

0 commit comments

Comments
 (0)