Skip to content

Commit f2e3428

Browse files
committed
Allow additional shape fields in arrays
1 parent 6097bef commit f2e3428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Builder/MapTypeBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function build(TypeStatement $stmt, BuildingContext $context): TypeInterf
4949
/** @phpstan-ignore-next-line : Additional DbC assertion */
5050
assert($stmt instanceof NamedTypeNode);
5151

52-
$this->expectNoShapeFields($stmt);
52+
//$this->expectNoShapeFields($stmt);
5353

5454
$arguments = $stmt->arguments->items ?? [];
5555

0 commit comments

Comments
 (0)