diff --git a/classes/decision/Repository.php b/classes/decision/Repository.php index dd8087059f0..f15d66a7321 100644 --- a/classes/decision/Repository.php +++ b/classes/decision/Repository.php @@ -90,11 +90,13 @@ public function getDecisionTypesMadeByRecommendingUsers(int $stageId): array case WORKFLOW_STAGE_ID_SUBMISSION: $recommendatorsAvailableDecisions = [ new SendExternalReview() - ]; + ]; + break; case WORKFLOW_STAGE_ID_EXTERNAL_REVIEW: - $recommendatorsAvailableDecisions = [ - new NewExternalReviewRound() - ]; + $recommendatorsAvailableDecisions = [ + new NewExternalReviewRound() + ]; + break; } Hook::call('Workflow::RecommendatorDecisions', [&$recommendatorsAvailableDecisions, $stageId]);