Passed
Push — master ( 6a8b18...b89121 )
by John
20:51 queued 07:48
created
apps/theming/lib/Themes/DefaultTheme.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 			'--color-text-light' => $colorMainText,
124 124
 			'--color-text-lighter' => $this->util->lighten($colorMainText, 33),
125 125
 
126
-			'--color-scrollbar' => 'rgba(' . $colorMainTextRgb . ', .15)',
126
+			'--color-scrollbar' => 'rgba('.$colorMainTextRgb.', .15)',
127 127
 
128 128
 			// info/warning/success feedback colours
129 129
 			'--color-error' => '#e9322d',
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 			'--background-invert-if-dark' => 'no',
188 188
 			'--background-invert-if-bright' => 'invert(100%)',
189 189
 
190
-			'--image-main-background' => "url('" . $this->urlGenerator->imagePath('core', 'app-background.jpg') . "')",
190
+			'--image-main-background' => "url('".$this->urlGenerator->imagePath('core', 'app-background.jpg')."')",
191 191
 		];
192 192
 
193 193
 		// Primary variables
@@ -210,9 +210,9 @@  discard block
 block discarded – undo
210 210
 						continue;
211 211
 					}
212 212
 					$variables['--image-background-size'] = 'cover';
213
-					$variables['--image-main-background'] = "url('" . $imageUrl . "')";
213
+					$variables['--image-main-background'] = "url('".$imageUrl."')";
214 214
 				}
215
-				$variables["--image-$image"] = "url('" . $imageUrl . "')";
215
+				$variables["--image-$image"] = "url('".$imageUrl."')";
216 216
 			}
217 217
 		}
218 218
 
@@ -227,9 +227,9 @@  discard block
 block discarded – undo
227 227
 			$themingBackground = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'background', 'default');
228 228
 
229 229
 			if ($themingBackground === 'custom') {
230
-				$variables['--image-main-background'] = "url('" . $this->urlGenerator->linkToRouteAbsolute('theming.userTheme.getBackground') . "')";
230
+				$variables['--image-main-background'] = "url('".$this->urlGenerator->linkToRouteAbsolute('theming.userTheme.getBackground')."')";
231 231
 			} elseif ($themingBackground !== 'default' && substr($themingBackground, 0, 1) !== '#') {
232
-				$variables['--image-main-background'] = "url('" . $this->urlGenerator->linkTo(Application::APP_ID, "/img/background/$themingBackground") . "')";
232
+				$variables['--image-main-background'] = "url('".$this->urlGenerator->linkTo(Application::APP_ID, "/img/background/$themingBackground")."')";
233 233
 			}
234 234
 		}
235 235
 
Please login to merge, or discard this patch.