Project

General

Profile

Actions

Task #86564

closed

Add return type declaration to FileDumpController::dumpAction

Added by Benjamin Franzke about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2018-10-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

For historical reasons FileDumpController::dumpAction was allowed to return
null. It didn't specify a nullable return type declaration because it was
unclear whether v9 will require php 7.2 or not.
With https://review.typo3.org/55585 FileDumpController was reworked to
always return a PSR-7 Response but missed to update the function signature.
That should be adapted.

Actions

Also available in: Atom PDF