| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function make(array $payload) : array |
||
| 34 | { |
||
| 35 | return array_merge( |
||
| 36 | [], |
||
| 37 | ['notifier' => $this->config['notifier']], |
||
| 38 | [ |
||
| 39 | 'error' => [ |
||
| 40 | 'class' => $payload['title'] ?? '', |
||
| 41 | 'message' => $payload['message'] ?? '', |
||
| 42 | ], |
||
| 43 | ], |
||
| 44 | ['request' => [ |
||
| 45 | 'context' => (object) $this->context->all(), ], |
||
| 46 | ], |
||
| 47 | ['server' => (object) []] |
||
| 48 | ); |
||
| 51 |