Skip to content

Commit 540c4dd

Browse files
Rework
1 parent 7ece107 commit 540c4dd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/PHPStan/Analyser/nsrt/type-specifier.php renamed to tests/PHPStan/Analyser/nsrt/pr-5445.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace BugTypeSpecifier;
3+
namespace BugPr5445;
44

55
use function PHPStan\Testing\assertType;
66

@@ -14,6 +14,9 @@ function testTriviallyTrueConditionSkipped(array $aggregation, string $type): vo
1414
return;
1515
}
1616

17+
assertType("array<string, mixed>", $aggregation);
18+
assertType('non-falsy-string', $type);
19+
1720
if ($type !== 'filter') {
1821
assertType("array<string, mixed>", $aggregation);
1922
}

0 commit comments

Comments
 (0)