[TASK] Add return type declaration to FileDumpController::dumpAction 74/58574/2
authorBenjamin Franzke <bfr@qbus.de>
Wed, 3 Oct 2018 20:42:28 +0000 (22:42 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 4 Oct 2018 17:18:21 +0000 (19:18 +0200)
commit94536a12bf150ce8fa7a5584c967e3f6aeb16b47
tree1eb62cdb4e0f54cacc5c8a5f754a5463df635d1a
parent7cc6361bedf14d2120618152afb1228457bd1601
[TASK] Add return type declaration to FileDumpController::dumpAction

For historical reasons FileDumpController::dumpAction was allowed to
return null. It didn't specify a nullable return type declaration because
it was not yed decided whether v9 will require php 7.2 or not.
With https://review.typo3.org/55585 FileDumpController was adapted to
return a PSR-7 Response but missed to update the function signature.
The nullable annotation is therefore removed now and the explicit
return type declaration is added.

Change-Id: I10e2cc60ab8e1f023c1beb6cf467bee1800971c8
Releases: master
Resolves: #86564
Reviewed-on: https://review.typo3.org/58574
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Controller/FileDumpController.php