core icon indicating copy to clipboard operation
core copied to clipboard

fix: array shape in ProviderInterface

Open nesl247 opened this issue 7 months ago • 1 comments

Q A
Branch? 4.1
Tickets N/A
License MIT
Doc PR N/A

With this syntax request and resource_class can be detected. Otherwise it just becomes an unsealed associative array.

See https://github.com/phpstan/phpdoc-parser/pull/250 for the syntax. I reported https://github.com/phpstan/phpstan/issues/13019 because the extra keys aren't working as per the PR that added support, but the known keys do.

nesl247 avatar May 15 '25 14:05 nesl247

needs https://github.com/api-platform/core/pull/7154

soyuka avatar May 16 '25 12:05 soyuka

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 25 '25 12:07 stale[bot]

It could be good to fix IriConverterInterface and ParameterProviderInterface too.

VincentLanglet avatar Aug 24 '25 17:08 VincentLanglet

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 24 '25 17:10 stale[bot]

I think this was already solved by https://github.com/api-platform/core/pull/7366

VincentLanglet avatar Oct 24 '25 17:10 VincentLanglet