Skip to content

Commit 6aee9e1

Browse files
authored
[TASK] Fix typo (#389)
1 parent d679a73 commit 6aee9e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/fractor/src/Differ/Formatter/ColorConsoleDiffFormatter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @var string
2020
* @see https://regex101.com/r/xwywpa/1
2121
*/
22-
private const MINUT_START_REGEX = '#^(\-.*)#';
22+
private const MINUS_START_REGEX = '#^(\-.*)#';
2323

2424
/**
2525
* @var string
@@ -88,7 +88,7 @@ private function makePlusLinesGreen(string $string): string
8888

8989
private function makeMinusLinesRed(string $string): string
9090
{
91-
return Strings::replace($string, self::MINUT_START_REGEX, '<fg=red>$1</fg=red>');
91+
return Strings::replace($string, self::MINUS_START_REGEX, '<fg=red>$1</fg=red>');
9292
}
9393

9494
private function makeAtNoteCyan(string $string): string

0 commit comments

Comments
 (0)