1
0
Fork 0
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:
epriestley 2014-01-13 16:08:30 -08:00
parent 3fc807bed1
commit 6cc5f952a4

View file

@ -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: