Skip to content

Commit 4a890c5

Browse files
committed
Fix indentation/alignment
1 parent 2a1735b commit 4a890c5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

webapp/src/Service/DOMJudgeService.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -421,16 +421,16 @@ public function getUpdates(): array
421421

422422
if ($this->checkrole('balloon')) {
423423
$balloonsQuery = $this->em->createQueryBuilder()
424-
->select('b.balloonid', 't.name', 't.location', 'p.name AS pname')
425-
->from(Balloon::class, 'b')
426-
->leftJoin('b.submission', 's')
427-
->leftJoin('s.problem', 'p')
428-
->leftJoin('s.contest', 'co')
429-
->leftJoin('p.contest_problems', 'cp', Join::WITH, 'co.cid = cp.contest AND p.probid = cp.problem')
430-
->leftJoin('s.team', 't')
431-
->andWhere('co.cid = :cid')
432-
->andWhere('b.done = 0')
433-
->setParameter('cid', $contest->getCid());
424+
->select('b.balloonid', 't.name', 't.location', 'p.name AS pname')
425+
->from(Balloon::class, 'b')
426+
->leftJoin('b.submission', 's')
427+
->leftJoin('s.problem', 'p')
428+
->leftJoin('s.contest', 'co')
429+
->leftJoin('p.contest_problems', 'cp', Join::WITH, 'co.cid = cp.contest AND p.probid = cp.problem')
430+
->leftJoin('s.team', 't')
431+
->andWhere('co.cid = :cid')
432+
->andWhere('b.done = 0')
433+
->setParameter('cid', $contest->getCid());
434434

435435
$freezetime = $contest->getFreezeTime();
436436
if ($freezetime !== null && !(bool)$this->config->get('show_balloons_postfreeze')) {

0 commit comments

Comments
 (0)