Passed
Push — master ( 859941...64f5a2 )
by Joas
12:41 queued 11s
created
apps/accessibility/lib/AppInfo/Application.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,14 +75,14 @@  discard block
 block discarded – undo
75 75
 			// we want to check if any theme or font is enabled.
76 76
 			if (count($userValues) > 0) {
77 77
 				$hash = $config->getUserValue($loggedUser->getUID(), self::APP_ID, 'icons-css', md5(implode('-', $userValues)));
78
-				$linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]);
78
+				$linkToCSS = $urlGenerator->linkToRoute(self::APP_ID.'.accessibility.getCss', ['md5' => $hash]);
79 79
 				\OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS]);
80 80
 			}
81 81
 		} else {
82 82
 			$userValues = ['dark'];
83 83
 
84 84
 			$hash = md5(implode('-', $userValues));
85
-			$linkToCSS = $this->urlGenerator->linkToRoute(self::APP_NAME . '.accessibility.getCss', ['md5' => $hash]);
85
+			$linkToCSS = $this->urlGenerator->linkToRoute(self::APP_NAME.'.accessibility.getCss', ['md5' => $hash]);
86 86
 			\OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'media' => '(prefers-color-scheme: dark)', 'href' => $linkToCSS]);
87 87
 		}
88 88
 	}
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 		/** @var IInitialStateService $initialState */
92 92
 		$initialState = $container->query(IInitialStateService::class);
93 93
 
94
-		$initialState->provideLazyInitialState(self::APP_ID, 'data', function () use ($container) {
94
+		$initialState->provideLazyInitialState(self::APP_ID, 'data', function() use ($container) {
95 95
 			/** @var JSDataService $data */
96 96
 			$data = $container->query(JSDataService::class);
97 97
 			return $data;
Please login to merge, or discard this patch.