Skip to content

Commit 9c59260

Browse files
committed
fix typo
1 parent 11647e3 commit 9c59260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
}

0 commit comments

Comments
 (0)