Skip to content

Commit 2989c9e

Browse files
committed
[BUGFIX] Only allow strings as LineName components
Fix the PHPDoc. Fixes #1589
1 parent eef097e commit 2989c9e

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
@@ -18,7 +18,7 @@
1818
class LineName extends ValueList
1919
{
2020
/**
21-
* @param array<Value|string> $components
21+
* @param array<string> $components
2222
* @param int<1, max>|null $lineNumber
2323
*/
2424
public function __construct(array $components = [], ?int $lineNumber = null)

0 commit comments

Comments
 (0)