Skip to content

Commit 6dfc13f

Browse files
committed
[TASK] Narrow the some type annotations in OutputFormatter
1 parent 631c07e commit 6dfc13f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/OutputFormatter.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function spaceAfterSelectorSeparator(): string
8787
}
8888

8989
/**
90-
* @param string $sSeparator
90+
* @param non-empty-string $sSeparator
9191
*/
9292
public function spaceBeforeListArgumentSeparator($sSeparator): string
9393
{
@@ -97,7 +97,7 @@ public function spaceBeforeListArgumentSeparator($sSeparator): string
9797
}
9898

9999
/**
100-
* @param string $sSeparator
100+
* @param non-empty-string $sSeparator
101101
*/
102102
public function spaceAfterListArgumentSeparator($sSeparator): string
103103
{
@@ -136,6 +136,7 @@ public function safely($cCode)
136136
/**
137137
* Clone of the `implode` function, but calls `render` with the current output format instead of `__toString()`.
138138
*
139+
* @param non-empty-string $sSeparator
139140
* @param array<array-key, Renderable|string> $aValues
140141
* @param bool $bIncreaseLevel
141142
*/

0 commit comments

Comments
 (0)