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