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 4
4
5
5
use Sabberworm \CSS \OutputFormat ;
6
6
use Sabberworm \CSS \Parsing \ParserState ;
7
+ use Sabberworm \CSS \Parsing \UnexpectedEOFException ;
7
8
use Sabberworm \CSS \Parsing \UnexpectedTokenException ;
8
9
9
10
class LineName extends ValueList
10
11
{
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
+ */
11
17
public function __construct (array $ aComponents = [], $ iLineNo = 0 )
12
18
{
13
19
parent ::__construct ($ aComponents , ' ' , $ iLineNo );
14
20
}
15
21
22
+ /**
23
+ * @return LineName
24
+ *
25
+ * @throws UnexpectedTokenException
26
+ * @throws UnexpectedEOFException
27
+ */
16
28
public static function parse (ParserState $ oParserState )
17
29
{
18
30
$ oParserState ->consume ('[ ' );
You can’t perform that action at this time.
0 commit comments