Skip to content

Commit

Permalink
createQueryBuilder doesn't take any arguments, so remove it.
Browse files Browse the repository at this point in the history
`Language::class` is referenced in `from` clause.
  • Loading branch information
meisterT committed Feb 28, 2025
1 parent 274d469 commit 8e0cb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Service/DOMJudgeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ public function getAllowedLanguagesForContest(?Contest $contest) : array {
return $languages->toArray();
}
}
return $this->em->createQueryBuilder(Language::class)
return $this->em->createQueryBuilder()
->select('l')
->from(Language::class, 'l')
->where('l.allowSubmit = 1')
Expand Down

0 comments on commit 8e0cb13

Please sign in to comment.