Skip to content

Commit 117a360

Browse files
committed
[BUGFIX] Only allow strings as LineName components
Fix the PHPDoc. Fixes #1589
1 parent a9e7b09 commit 117a360

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Please also have a look at our
2020

2121
### Fixed
2222

23+
- Only allow strings as `LineName` components (#1590)
24+
2325
### Documentation
2426

2527
## 9.3.0: Support for modern CSS at-rules and autoloading bugfix

src/Value/LineName.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class LineName extends ValueList
1313
{
1414
/**
15-
* @param array<Value|string> $components
15+
* @param array<string> $components
1616
* @param int<1, max>|null $lineNumber
1717
*/
1818
public function __construct(array $components = [], ?int $lineNumber = null)

0 commit comments

Comments
 (0)