Skip to content

Commit 4f5d56d

Browse files
finwekukulich
authored andcommitted
Fix error message typos in NumericLiteralSeparator sniffs
1 parent 127c374 commit 4f5d56d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SlevomatCodingStandard/Sniffs/Numbers/DisallowNumericLiteralSeparatorSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function process(File $phpcsFile, $numberPointer): void
3838
return;
3939
}
4040

41-
$fix = $phpcsFile->addFixableError('Use of numeric literator separator is disallowed.', $numberPointer, self::CODE_DISALLOWED_NUMERIC_LITERAL_SEPARATOR);
41+
$fix = $phpcsFile->addFixableError('Use of numeric literal separator is disallowed.', $numberPointer, self::CODE_DISALLOWED_NUMERIC_LITERAL_SEPARATOR);
4242

4343
if (!$fix) {
4444
return;

SlevomatCodingStandard/Sniffs/Numbers/RequireNumericLiteralSeparatorSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function process(File $phpcsFile, $numberPointer): void
5959
return;
6060
}
6161

62-
$phpcsFile->addError('Use of numeric literator separator is required.', $numberPointer, self::CODE_REQUIRED_NUMERIC_LITERAL_SEPARATOR);
62+
$phpcsFile->addError('Use of numeric literal separator is required.', $numberPointer, self::CODE_REQUIRED_NUMERIC_LITERAL_SEPARATOR);
6363
}
6464

6565
}

0 commit comments

Comments
 (0)