Skip to content

Commit f17c564

Browse files
committed
Fix unused error
1 parent f139235 commit f17c564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Twig/TwigExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ public function problemBadge(ContestProblem $problem, bool $grayedOut = false):
11621162
$rgb = Utils::convertToHex('whitesmoke');
11631163
}
11641164

1165-
[$foreground, $border] = $this->hexToForegroundAndBorder($rgb);
1165+
[$foreground, $border] = Utils::hexToForegroundAndBorder($rgb);
11661166

11671167
if ($grayedOut) {
11681168
$foreground = 'silver';

0 commit comments

Comments
 (0)