Skip to content

Commit

Permalink
Update webapp/src/Controller/Jury/UserController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj authored Oct 18, 2024
1 parent 7641e17 commit 5b9c970
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webapp/src/Controller/Jury/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ private function serializeJudgeTasks(array $judgeTasks, Judgehost $judgehost): a
}

// Just return everything here
return $judgeTasks;
if ($numUpdated == sizeof($judgeTasks)) {

Check failure on line 249 in webapp/src/Controller/Jury/UserController.php

View workflow job for this annotation

GitHub Actions / phpstan

Undefined variable: $numUpdated
// We got everything, let's ship it!
return $judgeTasks;
Expand Down

0 comments on commit 5b9c970

Please sign in to comment.