Skip to content

Commit 6f07de2

Browse files
authored
[CLEANUP] Narrow type of OutputFormat::stringQuotingType (#1465)
1 parent 2b61cd5 commit 6f07de2

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/OutputFormat.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
final class OutputFormat
88
{
99
/**
10-
* Value format: `"` means double-quote, `'` means single-quote
11-
*
12-
* @var non-empty-string
10+
* @var '"'|"'"
1311
*/
1412
private $stringQuotingType = '"';
1513

@@ -181,7 +179,7 @@ final class OutputFormat
181179
private $indentationLevel = 0;
182180

183181
/**
184-
* @return non-empty-string
182+
* @return '"'|"'"
185183
*
186184
* @internal
187185
*/
@@ -191,7 +189,7 @@ public function getStringQuotingType(): string
191189
}
192190

193191
/**
194-
* @param non-empty-string $quotingType
192+
* @param '"'|"'" $quotingType
195193
*
196194
* @return $this fluent interface
197195
*/

0 commit comments

Comments
 (0)