Skip to content

Initial Public Release

Choose a tag to compare

@brianlmoon brianlmoon released this 06 Aug 04:51
· 4 commits to main since this release

Improve generated docblocks: array element hints, HTML-to-text comments

@var now hints array element types (Type|Type[]|null instead of Type|array|null) since PHP's lack of generics means the declared property type can't express this itself. Documented as a deliberate, non-enforced limitation in CLAUDE.md/README rather than adding a TypedArray-based collection type, which would need ~135 generated Set classes for a narrow, low-likelihood failure mode.

Also convert rdfs:comment's HTML (schema.org authors comments as HTML) into plain text instead of leaking raw markup/entities into docblocks.

No behavioral change -- every generated class's declared property types are unchanged; only docblock comments differ.