Skip to content

Render loaders shape as multi-line PHPDoc#84

Merged
ruudk merged 1 commit into
mainfrom
ruudk/fix-shape
May 28, 2026
Merged

Render loaders shape as multi-line PHPDoc#84
ruudk merged 1 commit into
mainfrom
ruudk/fix-shape

Conversation

@ruudk

@ruudk ruudk commented May 28, 2026

Copy link
Copy Markdown
Owner

The array{...} shape for $loaders was emitted on a single line via implode(', ', $entries), producing a long unwieldy @param/@var that was inconsistent with how TypeDumper formats ArrayShapeType (one entry per line with a trailing comma). Emit the same multi-line layout so generated docblocks stay readable as the batched-hook list grows.

The `array{...}` shape for `$loaders` was emitted on a single line via
`implode(', ', $entries)`, producing a long unwieldy `@param`/`@var` that
was inconsistent with how `TypeDumper` formats `ArrayShapeType` (one
entry per line with a trailing comma). Emit the same multi-line layout
so generated docblocks stay readable as the batched-hook list grows.
@ruudk ruudk merged commit a9651b0 into main May 28, 2026
3 checks passed
@ruudk ruudk deleted the ruudk/fix-shape branch May 28, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant