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