Skip to content
Snippets Groups Projects
Commit 3dbeed38 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Do not declare extbase defaultViewObjectName, set it

Instead of declaring ActionController->defaultViewObjectName
to some value, __construct() sets it. This in line with the
recommended solution of #102632: It relaxes liskov covariance
and contravariance issues with PHP properties. Core usages now
follow to be a good example for extensions. The patch applies
minor constructor/DI cleanups along the way.

Resolves: #104770
Related: #102632
Releases: main
Change-Id: Ib013d1f52796d5e849b1e26d2173691ed7a6b310
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85822


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent d2493f3a
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