Skip to content

Commit 0ac7c8e

Browse files
committed
Fix CommitFormatter::nameReplacements access-before-initialize error
1 parent 1ef6ce3 commit 0ac7c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommitFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class CommitFormatter {
88
private array $commitsList = [];
99
private array $commitsGroupedByAuthor = [];
1010

11-
private array $nameReplacements;
11+
private array $nameReplacements = [];
1212

1313
public function __construct(array $inputCommits, array $nameReplacements = []) {
1414
$this->process($inputCommits);

0 commit comments

Comments
 (0)