Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored and ondrejmirtes committed Sep 26, 2024
1 parent 7d49f52 commit 5d4f259
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/PHPStan/Analyser/data/param-out.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ function testParseStr() {
echo $output['arr'][1];//baz
*/

\PHPStan\Testing\assertType('array<int|string, array|string>', $output);
\PHPStan\Testing\assertType('array<int|string, array|lowercase-string>', $output);
}

function fooSimilar() {
Expand Down Expand Up @@ -501,4 +501,3 @@ function testMatch() {
preg_match('#.*#', 'foo', $matches);
assertType('array{0?: string}', $matches);
}

0 comments on commit 5d4f259

Please sign in to comment.