Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion classes/decision/Repository.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @file classes/decision/Repository.php
*
Expand All @@ -23,6 +24,7 @@
use APP\decision\types\RecommendRevisionsInternal;
use APP\decision\types\RecommendSendExternalReview;
use APP\decision\types\RequestRevisionsInternal;
use APP\decision\types\ResubmitInternal;
use APP\decision\types\RevertDeclineInternal;
use APP\decision\types\SendExternalReview;
use APP\decision\types\SendInternalReview;
Expand Down Expand Up @@ -76,6 +78,7 @@ public function getDecisionTypes(): Collection
new RequestRevisionsInternal(),
new RequestRevisions(),
new Resubmit(),
new ResubmitInternal(),
new RevertDecline(),
new RevertDeclineInternal(),
new RevertInitialDecline(),
Expand Down Expand Up @@ -131,7 +134,7 @@ protected function getReviewNotificationTypes(): array
public function getDecisionTypesMadeByRecommendingUsers(int $stageId): array
{
$recommendatorsAvailableDecisions = [];
switch($stageId) {
switch ($stageId) {
case WORKFLOW_STAGE_ID_SUBMISSION:
$recommendatorsAvailableDecisions = [
new SendInternalReview()
Expand Down
3 changes: 2 additions & 1 deletion classes/decision/types/ResubmitInternal.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @file classes/decision/types/ResubmitInternal.php
*
Expand All @@ -23,6 +24,6 @@ class ResubmitInternal extends Resubmit

public function getDecision(): int
{
return Decision::PENDING_REVISIONS_INTERNAL;
return Decision::RESUBMIT_INTERNAL;
}
}