Passed
Push — master ( 77db6c...e9432b )
by John
13:58 queued 12s
created
apps/theming/lib/Controller/UserThemeController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,12 +108,12 @@
 block discarded – undo
108 108
 	 */
109 109
 	private function validateTheme(string $themeId): ITheme {
110 110
 		if ($themeId === '' || !$themeId) {
111
-			throw new OCSBadRequestException('Invalid theme id: ' . $themeId);
111
+			throw new OCSBadRequestException('Invalid theme id: '.$themeId);
112 112
 		}
113 113
 
114 114
 		$themes = $this->themesService->getThemes();
115 115
 		if (!isset($themes[$themeId])) {
116
-			throw new OCSBadRequestException('Invalid theme id: ' . $themeId);
116
+			throw new OCSBadRequestException('Invalid theme id: '.$themeId);
117 117
 		}
118 118
 
119 119
 		// If trying to toggle another theme but this is enforced
Please login to merge, or discard this patch.