1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Fix didAbortWorkflow() without workflow

Summary: This is a BC break but it was introduced recently.

Test Plan:
  $ arc unit x

No more:

> Fatal error: Argument 2 passed to ArcanistConfiguration::didAbortWorkflow() must be an instance of ArcanistBaseWorkflow, null given

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3812
This commit is contained in:
vrana 2012-10-24 12:42:18 -07:00
parent 2d226f3110
commit fa75a03b72

View file

@ -93,11 +93,7 @@ class ArcanistConfiguration {
// This is a hook. // This is a hook.
} }
public function didAbortWorkflow( public function didAbortWorkflow($command, $workflow, Exception $ex) {
$command,
ArcanistBaseWorkflow $workflow,
Exception $ex) {
// This is a hook. // This is a hook.
} }