Skip to content

Commit c8f6335

Browse files
staabmondrejmirtes
authored andcommitted
Fix test expectations
1 parent 1211bee commit c8f6335

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.4 || ^8.0",
10-
"phpstan/phpstan": "^2.1.11"
10+
"phpstan/phpstan": "^2.1.12"
1111
},
1212
"conflict": {
1313
"nette/application": "<2.3.0",

tests/Type/Nette/data/strings-match-74.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function (string $s): void {
2424
$s,
2525
'/(foo)?(bar)?(baz)?/',
2626
function ($matches) {
27-
assertType('array{0: array{string, int<-1, max>}, 1?: array{\'\'|\'foo\', int<-1, max>}, 2?: array{\'\'|\'bar\', int<-1, max>}, 3?: array{\'baz\', int<-1, max>}}', $matches);
27+
assertType('list{0: array{string, int<-1, max>}, 1?: array{\'\'|\'foo\', int<-1, max>}, 2?: array{\'\'|\'bar\', int<-1, max>}, 3?: array{\'baz\', int<-1, max>}}', $matches);
2828
return '';
2929
},
3030
-1,

0 commit comments

Comments
 (0)