Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2.1481 |
Changes | 0 |
1 | <?php |
||
29 | 1 | public function compileReport(Report $report): JavaObject |
|
30 | { |
||
31 | 1 | $compileManager = new Proxy\JasperCompileManager($this->ba); |
|
32 | try { |
||
33 | 1 | $compiledReport = $compileManager->compileReport($report->getReportFile()); |
|
34 | } catch (\Exception $e) { |
||
35 | throw $e; |
||
36 | } |
||
37 | |||
38 | 1 | return $compiledReport; |
|
39 | } |
||
40 | } |
||
41 |