Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: MCJ Vasseur <[email protected]>
  • Loading branch information
eldering and vmcj authored Dec 5, 2024
1 parent f3ec76d commit 8787b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/Service/ConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ public function getVerdicts(array $groups = ['final']): array
$verdictGroups = include $verdictsConfig;

$verdicts = [];
foreach( $groups as $group ) {
if ( $group === 'external' ) {
foreach ($groups as $group) {
if ($group === 'external') {
foreach ($this->get('external_judgement_types') as $id => $name) {
$verdicts[$name] = $id;
}
Expand Down

0 comments on commit 8787b32

Please sign in to comment.