mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-02 10:51:01 +01:00
Fix Herald field type error
Summary: See IRC. This is a likely fix for @DctrWatson's error: we're returning `null` but should return `array()` to indicate no values. Test Plan: Will make @DctrWatson do it. Reviewers: btrahan Reviewed By: btrahan CC: dctrwatson, aran Differential Revision: https://secure.phabricator.com/D7950
This commit is contained in:
parent
3fc807bed1
commit
6cc5f952a4
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ final class HeraldDifferentialRevisionAdapter extends HeraldAdapter {
|
|||
case self::FIELD_REPOSITORY_PROJECTS:
|
||||
$repository = $this->loadRepository();
|
||||
if (!$repository) {
|
||||
return null;
|
||||
return array();
|
||||
}
|
||||
return $repository->getProjectPHIDs();
|
||||
case self::FIELD_DIFF_CONTENT:
|
||||
|
|
Loading…
Reference in a new issue