Skip to content

Commit ad0e58a

Browse files
committed
fix typo
1 parent 11647e3 commit ad0e58a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: tests/PHPStan/Analyser/nsrt/preg_match_shapes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ function bug12397(string $string): void {
10161016
assertType('list{0?: string, 1?: non-falsy-string, 2?: numeric-string}', $match);
10171017
}
10181018

1019-
function bug2792(string $string): void {
1019+
function bug12792(string $string): void {
10201020
if (preg_match('~a\Kb~', $string, $match) === 1) {
10211021
assertType('array{string}', $match); // could be array{'b'}
10221022
}

Diff for: tests/PHPStan/Analyser/nsrt/preg_replace_callback_shapes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function ($matches) {
4646
);
4747
};
4848

49-
function bug2792(string $string) : void {
49+
function bug12792(string $string) : void {
5050
preg_replace_callback(
5151
'~\'(?:[^\']+|\'\')*+\'\K|\[(\w*)\]~',
5252
function ($matches) {

0 commit comments

Comments
 (0)