Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function __invoke(ShareReportRequest $request, ShareReportAction $shareReportAction) |
||
12 | { |
||
13 | try { |
||
14 | return $shareReportAction->handle(json_decode($request->get('report'), true), $request->get('tabs'), $request->get('lineSelection')); |
||
15 | } catch (UnableToShareErrorException $exception) { |
||
16 | abort(500, 'Unable to share the error '.$exception->getMessage()); |
||
17 | } |
||
18 | } |
||
19 | } |
||
20 |