Skip to content

Commit f3b2657

Browse files
committed
Fix psalm notice param postitive-int
1 parent c3474ee commit f3b2657

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Output/UnifiedDiffOutputBuilder.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ final class UnifiedDiffOutputBuilder extends AbstractChunkOutputBuilder
3737
private string $header;
3838
private bool $addLineNumbers;
3939

40+
/**
41+
* @psalm-param positive-int $contextLines
42+
*/
4043
public function __construct(string $header = "--- Original\n+++ New\n", bool $addLineNumbers = false, int $contextLines = 3)
4144
{
4245
$this->header = $header;

0 commit comments

Comments
 (0)