1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Fix an errant "switch ... continue"

Summary:
See <https://discourse.phabricator-community.org/t/unhandled-exception-on-create-task/2062>.

This construction has the same behavior as "switch ... break" but is unconventional. PHP 7.3 started warning about it because it's likely a mistake.

Test Plan: Created a task, edited a task owner. The new code is functionally identical to the old code.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19772
This commit is contained in:
epriestley 2018-11-05 04:38:11 -08:00
parent 24a061f844
commit d2316e8025

View file

@ -290,7 +290,7 @@ final class ManiphestTransactionEditor
$copy->setOwnerPHID($xaction->getNewValue());
break;
default:
continue;
break;
}
}