TYPO3 / Fluid

Fluid template rendering engine - Standalone version
GNU Lesser General Public License v3.0
152 stars 93 forks source link

[TASK] Type hint arguments in ViewInterface #933

Closed lolli42 closed 3 months ago

lolli42 commented 3 months ago

Add proper type hints to the two arguments in ViewInterface->assign(). This is not breaking since existing implementations can still accept "more" by not setting these arguments - method arguments of subtypes are contravariant. This will be backported to 2.14.