| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function getError(): ?Error |
||
| 24 | { |
||
| 25 | if (! $this->hasError()) { |
||
| 26 | return null; |
||
| 27 | } |
||
| 28 | |||
| 29 | return $this->error ?? $this->Error; |
||
|
2 ignored issues
–
show
|
|||
| 30 | } |
||
| 32 |