Skip to content

feat: Add param array shapes (2)#398

Merged
kimpepper merged 1 commit into
opensearch-project:mainfrom
kimpepper:array-shapes-2
Mar 10, 2026
Merged

feat: Add param array shapes (2)#398
kimpepper merged 1 commit into
opensearch-project:mainfrom
kimpepper:array-shapes-2

Conversation

@kimpepper
Copy link
Copy Markdown
Collaborator

Description

This updates the docblocks to define array shapes. This helps IDE's and PHPStan verify allowed array keys are being used.

https://phpstan.org/writing-php-code/phpdoc-types#array-shapes
https://www.jetbrains.com/help/phpstorm/php-type-checking.html#php-array-shapes-object-shapes

Issues Resolved

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Kim Pepper <kim@pepper.id.au>
@shyim
Copy link
Copy Markdown
Collaborator

shyim commented Mar 10, 2026

love it 💯

@kimpepper kimpepper merged commit 68a137f into opensearch-project:main Mar 10, 2026
30 checks passed
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