Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function report(bool $rebuild = true): ReportInterface |
||
21 | { |
||
22 | if (true === $rebuild) { |
||
23 | $this->meetConditions(); |
||
24 | $this->beforeReport(); |
||
25 | /** @var ReportableInterface $that */ |
||
26 | $that = $this; |
||
27 | $this->report->buildOn($that); // $that used for static analysis |
||
28 | } |
||
29 | return |
||
30 | $this->report; |
||
31 | } |
||
47 |