Skip to content

Commit 7825950

Browse files
committed
more asserts
1 parent 3ca8e19 commit 7825950

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/PHPStan/Analyser/nsrt/bug-13629.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ function test(array $xsdFiles, array $groupedByNamespace, array $extraNamespaces
2121
}
2222
$xmlNamespace = $groupedByNamespace[$targetNamespace][0]['xmlNamespace'];
2323

24+
assertType('string', $xmlNamespace);
25+
assertType('non-empty-list<string>&hasOffsetValue(1, string)', $mergedNamespace);
26+
2427
$xsdFiles[$xmlNamespace] = [];
2528
foreach ($mergedNamespace as $namespace) {
2629
foreach ($groupedByNamespace[$namespace] ?? [] as $viewHelper) {

0 commit comments

Comments
 (0)