fix: array shape in ProviderInterface
| 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.
needs https://github.com/api-platform/core/pull/7154
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.
It could be good to fix IriConverterInterface and ParameterProviderInterface too.
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.
I think this was already solved by https://github.com/api-platform/core/pull/7366