We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LineName
1 parent 45cd62f commit d3fd1c5Copy full SHA for d3fd1c5
src/Value/LineName.php
@@ -12,7 +12,7 @@
12
class LineName extends ValueList
13
{
14
/**
15
- * @param array<int, Value|string> $components
+ * @param array<Value|string> $components
16
* @param int<0, max> $lineNumber
17
*/
18
public function __construct(array $components = [], int $lineNumber = 0)
@@ -49,6 +49,9 @@ public static function parse(ParserState $parserState): LineName
49
return new LineName($names, $parserState->currentLine());
50
}
51
52
+ /**
53
+ * @return non-empty-string
54
+ */
55
public function render(OutputFormat $outputFormat): string
56
57
return '[' . parent::render(OutputFormat::createCompact()) . ']';
0 commit comments