File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 44
55use Sabberworm \CSS \OutputFormat ;
66use Sabberworm \CSS \Parsing \ParserState ;
7+ use Sabberworm \CSS \Parsing \UnexpectedEOFException ;
78use Sabberworm \CSS \Parsing \UnexpectedTokenException ;
89
910class LineName extends ValueList
1011{
12+ /**
13+ * phpcs:ignore Generic.Files.LineLength
14+ * @param array<int, RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string>|RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string $aComponents
15+ * @param int $iLineNo
16+ */
1117 public function __construct (array $ aComponents = [], $ iLineNo = 0 )
1218 {
1319 parent ::__construct ($ aComponents , ' ' , $ iLineNo );
1420 }
1521
22+ /**
23+ * @return LineName
24+ *
25+ * @throws UnexpectedTokenException
26+ * @throws UnexpectedEOFException
27+ */
1628 public static function parse (ParserState $ oParserState )
1729 {
1830 $ oParserState ->consume ('[ ' );
You can’t perform that action at this time.
0 commit comments