We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487b253 commit b26ebfbCopy full SHA for b26ebfb
webapp/src/Twig/TwigExtension.php
@@ -1081,7 +1081,7 @@ public function problemBadge(ContestProblem $problem): string
1081
);
1082
}
1083
1084
- public function problemBadgeForProblemAndContest(Problem $problem, Contest $contest): string
+ public function problemBadgeForProblemAndContest(Problem $problem, ?Contest $contest): string
1085
{
1086
foreach ($problem->getContestProblems() as $contestProblem) {
1087
if ($contestProblem->getContest() === $contest) {
0 commit comments