Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / diffusion / controller / DiffusionRepositoryURIEditController.php
blob4a1dc56d4a58f916093824ef68354175c05516ff
1 <?php
3 final class DiffusionRepositoryURIEditController
4 extends DiffusionController {
6 public function handleRequest(AphrontRequest $request) {
7 $response = $this->loadDiffusionContextForEdit();
8 if ($response) {
9 return $response;
12 $drequest = $this->getDiffusionRequest();
13 $repository = $drequest->getRepository();
15 return id(new DiffusionURIEditEngine())
16 ->setController($this)
17 ->setRepository($repository)
18 ->buildResponse();