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

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Simon Schaufelberger's avatarSimon Schaufelberger <>
Tested-by: Benjamin Franzke's avatarBenjamin Franzke <>
Reviewed-by: Simon Schaufelberger's avatarSimon Schaufelberger <>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <>
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