| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php namespace Phabricator\Request; |
||
| 39 | 1 | protected function process() { |
|
| 40 | 1 | $returnedData = []; |
|
| 41 | |||
| 42 | 1 | $params = $this->mergeConduitMetaData($this->rawData, $this->token); |
|
| 43 | |||
| 44 | 1 | $returnedData['params'] = json_encode($params); |
|
| 45 | 1 | $returnedData['output'] = $this->output; |
|
| 46 | |||
| 47 | //This indicates the API to the client expects conduit response. |
||
| 48 | //This sometimes provide more detailed error messages. |
||
| 49 | 1 | $returnedData['__conduit__'] = TRUE; |
|
| 50 | |||
| 51 | 1 | return $returnedData; |
|
| 52 | } |
||
| 53 | |||
| 70 | } |