Skip to content

Commit d9c524b

Browse files
committed
fix array match
1 parent eae01d4 commit d9c524b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev/src/DocFx/Node/ParameterNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private function resolveNestedType(string $name): string
139139
$name = sprintf('array<%s>', substr($name, 0, -2));
140140
}
141141

142-
if (0 === strpos($name, 'array<\\')) {
142+
if (0 === strpos($name, 'array<')) {
143143
return preg_replace_callback(
144144
'/^array<([^ ]*)>$/',
145145
function ($matches) {

0 commit comments

Comments
 (0)