Skip to content

Conversation

@mspirkov
Copy link
Contributor

Problem

Arrays of the form array{string, string, string} are converted to array{: string, : string, : string}.

Solution

The solution consists of two parts:

  1. Do not convert null to an empty string in TypeResolver.
  2. When the key is an empty string, do not display it in ShapeItem. This is an additional safety net for the future.

@mspirkov mspirkov marked this pull request as ready for review November 18, 2025 07:43
@jaapio jaapio merged commit 431c02d into phpDocumentor:1.x Nov 18, 2025
32 checks passed
@jaapio
Copy link
Member

jaapio commented Nov 18, 2025

Thanks for your contribution!

@jaapio
Copy link
Member

jaapio commented Nov 18, 2025

https://github.com/phpDocumentor/TypeResolver/releases/tag/1.10.1

@mspirkov
Copy link
Contributor Author

That's the speed. Thank you!

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.

2 participants