Commit 6ff84cdd authored by Stefan Bürk's avatar Stefan Bürk Committed by Benjamin Franzke
Browse files

[BUGFIX] Add trailing comma to multiline array in redirects SlugService

There has been a overlapping in merging two patches, first one
adding rules for php stan to enforce trailing commas for an
multiline array ( #94553 ) and the second one with a multiline
array without trailing comma ( #89327 ).

To make cgl happy again add this comma.

Resolves: #95357
Related: #89327
Related: #94553
Releases: master
Change-Id: Ic03916b9d4ae7151c2e13f22920c331443857f80
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71239

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
parent 74ebd31a
......@@ -166,7 +166,7 @@ class SlugService implements LoggerAwareInterface
$targetLink = $this->linkService->asString([
'type' => 'page',
'pageuid' => $pageId,
'parameters' => '_language=' . $languageId
'parameters' => '_language=' . $languageId,
]);
$record = [
'pid' => $pid,
......
Markdown is supported
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