Total Complexity | 5 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 22.22% |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait ProxyTrait |
||
10 | { |
||
11 | private ?object $currentError = null; |
||
12 | |||
13 | protected function getCurrentResultStatus(): string |
||
16 | } |
||
17 | |||
18 | protected function repeatError(Throwable $error): void |
||
22 | } |
||
23 | |||
24 | 1 | protected function resetCurrentError(): void |
|
25 | { |
||
26 | 1 | $this->currentError = null; |
|
27 | } |
||
28 | |||
29 | protected function getCurrentError(): ?object |
||
32 | } |
||
33 | } |
||
34 |