Skip to content

Commit

Permalink
Adjust test results
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 24, 2022
1 parent 517bc8f commit 9abc52c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PHPStan/Analyser/TypeSpecifierTest.php
Expand Up @@ -422,7 +422,7 @@ public function dataCondition(): array
new Variable('foo'),
new Variable('bar'),
),
['$foo' => 'Bar', '$bar' => 'Bar'],
['$foo' => 'Bar', '$bar' => 'mixed'], // could be '$bar' => 'Bar'
[],
],
[
Expand Down Expand Up @@ -1067,7 +1067,7 @@ public function dataCondition(): array
),
[
'$foo' => 'array<string, mixed>',
'array_filter($foo, \'is_string\', ARRAY_FILTER_USE_KEY)' => 'array<string, mixed>',
'array_filter($foo, \'is_string\', ARRAY_FILTER_USE_KEY)' => 'array', // could be 'array<string, mixed>'
],
[],
],
Expand Down

0 comments on commit 9abc52c

Please sign in to comment.