diff --git a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php index 8e0a93bc10..38e6a3bf92 100644 --- a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php +++ b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php @@ -222,7 +222,7 @@ final class PhabricatorRepositoryCommitHeraldWorker $matches = null; if (!preg_match('/^Auditors:\s*(.*)$/im', $message, $matches)) { - return; + return array(); } $phids = DifferentialFieldSpecification::parseCommitMessageObjectList( @@ -231,7 +231,7 @@ final class PhabricatorRepositoryCommitHeraldWorker $allow_partial = true); if (!$phids) { - return; + return array(); } $requests = id(new PhabricatorRepositoryAuditRequest())->loadAllWhere(