diff --git a/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php b/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php index 87c6357902..6b3fb49fd0 100644 --- a/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php +++ b/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php @@ -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: