Skip to content
Snippets Groups Projects
Commit 33b0333c authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Benni Mack
Browse files

[BUGFIX] Explicitly cast variable to string

Class \TYPO3\CMS\Extbase\Core\Bootstrap calls method
\TYPO3\CMS\Extbase\Mvc\ResponseInterface::shutdown()
which does not declare a strict return type yet.

Thus, it's possible that the returned value is not
of type string which then violates the return type
promise of method handleRequest() of the Bootstrap
class.

Therefore, the return value is explicitly casted
to string.

Releases: master
Resolves: #88829
Change-Id: Ibea2451e87c5c66070e5ce4ed5f30c408b7412cd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61345


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarArmin Vieweg <armin@v.ieweg.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 57dea057
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment