TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #89409
Issue Task Closed

#89409 Fix Extbase getArgument return type annotation

Daniel Siepmann 10/14/19, 13:32 updated 12/23/19, 22:43

Open in Forge Comment in Forge

Description

Right now the method can return whatever an argument is, but only string is defined within PHPDoc. E.g. arguments can be an array instead.

This prevents static code analysis for further code using this method, e.g. inside extensions.

Reviews 3

  • TYPO3_8-7 62054[TASK] Fix return type annotation of Extbase getArgument method Resolves this issue Merged Alexander Schnitzler CR +2 V +2 → main, 9.5, 8.7 Easy +1 −1 10/21/19, 10:59
  • 9.5 62053[TASK] Fix return type annotation of Extbase getArgument method Resolves this issue Merged Alexander Schnitzler CR +2 V +2 → main, 8.7 Easy +1 −1 10/21/19, 10:58
  • main 61969[TASK] Fix return type annotation of Extbase getArgument method Resolves this issue Merged Daniel Siepmann CR +2 V +2 → 9.5, 8.7 Easy +1 −1 10/21/19, 10:34

Related issues 2

  • Task #89407Fix get_dirs return type annotation Related to Closed v8 Daniel Siepmann 10/14/19, 10:56
  • Bug #89432 Fix Extbase redirect param type annotation Related to Closed v8 Daniel Siepmann 10/16/19, 15:33
Assigned to
Daniel Siepmann
Author
Daniel Siepmann
Priority
Should have
Target version
Candidate for patchlevel
TYPO3 version
8
PHP version
7.0
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback