Feature #77861
closedPHPdoc array types for controller action param
0%
Description
I have got this Error Message:
Exception while property mapping at property path "": Could not find a suitable type converter for "int[]" because no such class or interface exists.
https://phpdoc.org/docs/latest/references/phpdoc/types.html#arrays
I would expect that I can write it like this:
/** * @param int[] $products * @return void */ public function compareAction($products)
But I have to write it like this:
/** * @param array $products * @return void */ public function compareAction($products)
Updated by Gerrit Code Review about 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49874
Updated by Gerrit Code Review about 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49874
Updated by Gerrit Code Review about 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49874
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49874
Updated by Gerrit Code Review over 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49874
Updated by Gerrit Code Review over 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49874
Updated by Oliver Hader almost 7 years ago
- Sprint Focus set to On Location Sprint
Updated by Mathias Brodala over 6 years ago
- Status changed from Under Review to New
- Sprint Focus deleted (
On Location Sprint)
Change has been abandoned.
Updated by Benni Mack over 4 years ago
- Status changed from New to Closed
Hey,
we've reworked this logic in TYPO3 v10 and I think the thing you wanted to achieve is now doable because we have proper annotations (Doctrine) - can you let me know if this issue is now resolved for you? I'll close this issue for the time begin, but if you feel there is something more to do, I will re-open the ticket.
Thanks.
Benni.