Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / harbormaster / conduit / HarbormasterConduitAPIMethod.php
blob6f5b453ed76de36c18c5ff174eb00d406f7c862a
1 <?php
3 abstract class HarbormasterConduitAPIMethod extends ConduitAPIMethod {
5 final public function getApplication() {
6 return PhabricatorApplication::getByClass(
7 'PhabricatorHarbormasterApplication');
10 protected function returnArtifactList(array $artifacts) {
11 $list = array();
13 foreach ($artifacts as $artifact) {
14 $list[] = array(
15 'phid' => $artifact->getPHID(),
19 return $list;