We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 20% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class ErrorFormattingEvent extends Event |
||
| 11 | 1 | { |
|
| 12 | /** @var Error */ |
||
| 13 | private $error; |
||
| 14 | |||
| 15 | /** @var \ArrayObject */ |
||
| 16 | private $formattedError; |
||
| 17 | |||
| 18 | public function __construct(Error $error, array $formattedError) |
||
| 19 | { |
||
| 20 | $this->error = $error; |
||
| 21 | $this->formattedError = new \ArrayObject($formattedError); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getError() |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return \ArrayObject |
||
| 31 | */ |
||
| 32 | public function getFormattedError(): \ArrayObject |
||
| 35 | } |
||
| 36 | } |
||
| 37 |