Skip to content

Commit

Permalink
Update phpdoc-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 15, 2024
1 parent cdf7d67 commit 4bb7e72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Type/Constant/ConstantArrayType.php
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ public function toPhpDocNode(): TypeNode
);
}

return new ArrayShapeNode($exportValuesOnly ? $values : $items);
return ArrayShapeNode::createSealed($exportValuesOnly ? $values : $items);
}

public static function isValidIdentifier(string $value): bool
Expand Down

0 comments on commit 4bb7e72

Please sign in to comment.