File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,11 @@ public function spaceAfterSelectorSeparator()
118118 public function spaceBeforeListArgumentSeparator ($ sSeparator )
119119 {
120120 $ spaceForSeparator = $ this ->oFormat ->getSpaceBeforeListArgumentSeparators ();
121+ if (isset ($ spaceForSeparator [$ sSeparator ])) {
122+ return $ spaceForSeparator [$ sSeparator ];
123+ }
121124
122- return $ spaceForSeparator [ $ sSeparator ] ?? $ this ->space ('BeforeListArgumentSeparator ' , $ sSeparator );
125+ return $ this ->space ('BeforeListArgumentSeparator ' , $ sSeparator );
123126 }
124127
125128 /**
@@ -130,8 +133,11 @@ public function spaceBeforeListArgumentSeparator($sSeparator)
130133 public function spaceAfterListArgumentSeparator ($ sSeparator )
131134 {
132135 $ spaceForSeparator = $ this ->oFormat ->getSpaceAfterListArgumentSeparators ();
136+ if (isset ($ spaceForSeparator [$ sSeparator ])) {
137+ return $ spaceForSeparator [$ sSeparator ];
138+ }
133139
134- return $ spaceForSeparator [ $ sSeparator ] ?? $ this ->space ('AfterListArgumentSeparator ' , $ sSeparator );
140+ return $ this ->space ('AfterListArgumentSeparator ' , $ sSeparator );
135141 }
136142
137143 /**
You can’t perform that action at this time.
0 commit comments