Skip to content

Commit c990364

Browse files
committed
Apply fixes from StyleCI
1 parent a658770 commit c990364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/core/src/Frontend/FrontendServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public function addBaseCss(SourceCollector $sources): void
275275

276276
/**
277277
* Compute the dark-mode body background colour from the forum's secondary colour hex.
278-
* Mirrors the LESS formula: hsl(@secondary-hue, min(20%, @secondary-sat), 10%)
278+
* Mirrors the LESS formula: hsl(@secondary-hue, min(20%, @secondary-sat), 10%).
279279
*/
280280
private static function computeDarkBodyBg(string $hex): string
281281
{
@@ -285,7 +285,7 @@ private static function computeDarkBodyBg(string $hex): string
285285
$hex = $hex[0].$hex[0].$hex[1].$hex[1].$hex[2].$hex[2];
286286
}
287287

288-
if (strlen($hex) !== 6 || !ctype_xdigit($hex)) {
288+
if (strlen($hex) !== 6 || ! ctype_xdigit($hex)) {
289289
return '#1a2333'; // safe fallback
290290
}
291291

0 commit comments

Comments
 (0)