Skip to content

Commit 745ff04

Browse files
committed
Update bug-13629.php
1 parent e178b94 commit 745ff04

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function test(array $xsdFiles, array $groupedByNamespace, array $extraNamespaces
2727
$xsdFiles[$xmlNamespace] = [];
2828
foreach ($mergedNamespace as $namespace) {
2929
foreach ($groupedByNamespace[$namespace] ?? [] as $viewHelper) {
30+
assertType('string', $viewHelper['name']);
3031
$xsdFiles[$xmlNamespace][$viewHelper['name']] = $viewHelper;
3132
}
3233
}

0 commit comments

Comments
 (0)