@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3abstract class HarbormasterConduitAPIMethod extends ConduitAPIMethod {
4
5 final public function getApplication() {
6 return PhabricatorApplication::getByClass(
7 PhabricatorHarbormasterApplication::class);
8 }
9
10 protected function returnArtifactList(array $artifacts) {
11 $list = array();
12
13 foreach ($artifacts as $artifact) {
14 $list[] = array(
15 'phid' => $artifact->getPHID(),
16 );
17 }
18
19 return $list;
20 }
21
22}