| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function handle() |
||
| 14 | { |
||
| 15 | return (new Error)->setStatus(403) |
||
| 16 | ->setCode($this->getCode('authorization')) |
||
| 17 | ->setSource((new Source())->setPointer($this->getDefaultPointer())) |
||
| 18 | ->setTitle(__('exception::exceptions.authorization.title')) |
||
| 19 | ->setDetail($this->exception->getMessage()); |
||
| 20 | } |
||
| 22 |