[TASK] Allow string as $subpartContent 16/53916/3
authorSebastian Fischer <typo3@evoweb.de>
Tue, 5 Sep 2017 14:40:13 +0000 (16:40 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 5 Sep 2017 18:30:56 +0000 (20:30 +0200)
commit399d82152d1ed1eaabc0d171b48702a4dde5ddb9
tree5da2c78ea911fc4fbc55aed34ca5f799b06f8e8e
parent6a9d7b5b9d53b30e25d374fd907f988a7a4db761
[TASK] Allow string as $subpartContent

The parameter $subpartContent of substituteSubpart() can be either
string or array. IDEs need to have both present in the comment to not
show warnings for given parameters that are correct.

Resolves: #82308
Releases: master, 8.7
Change-Id: Ifcceb8dcd5ad8be56695cef161949046ff74c994
Reviewed-on: https://review.typo3.org/53916
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Service/MarkerBasedTemplateService.php