[DOCS] Added missing brackets 54/61754/3
authorsomeplace53 <noreply@example.com>
Wed, 18 Sep 2019 13:11:40 +0000 (13:11 +0000)
committerFrank Nägler <frank.naegler@typo3.org>
Fri, 20 Sep 2019 10:11:56 +0000 (12:11 +0200)
Since includeCssFiles and includeJsFiles are registered as arrays,
the given types in the example should be arrays, too.

Releases: master, 9.5
Resolves: #89200
Change-Id: Ic9ba160deb01bd4f2f86484ff2d8da517d417fc1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61754
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageRendererViewHelper.php

index 804d01d..b0151f9 100644 (file)
@@ -30,8 +30,8 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
  * All options::
  *
  *    <f:be.pageRenderer pageTitle="foo"
- *        includeCssFiles="0: '{f:uri.resource(path:\'Css/Styles.css\')}'"
- *        includeJsFiles="0: '{f:uri.resource(path:\'JavaScript/Library1.js\')}', 1: '{f:uri.resource(path:\'JavaScript/Library2.js\')}'"
+ *        includeCssFiles="{0: '{f:uri.resource(path:\'Css/Styles.css\')}'}"
+ *        includeJsFiles="{0: '{f:uri.resource(path:\'JavaScript/Library1.js\')}', 1: '{f:uri.resource(path:\'JavaScript/Library2.js\')}'}"
  *        addJsInlineLabels="{0: 'label1', 1: 'label2'}" />
  *
  * Custom CSS file :file:`EXT:your_extension/Resources/Public/Css/styles.css` and