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 | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class ErrorFormattingEvent extends Event |
||
| 11 | { |
||
| 12 | /** @var Error */ |
||
| 13 | private $error; |
||
| 14 | |||
| 15 | /** @var \ArrayObject */ |
||
| 16 | private $formattedError; |
||
| 17 | |||
| 18 | 48 | public function __construct(Error $error, array $formattedError) |
|
| 22 | 48 | } |
|
| 23 | |||
| 24 | 37 | public function getError() |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return \ArrayObject |
||
| 31 | */ |
||
| 32 | 40 | public function getFormattedError(): \ArrayObject |
|
| 37 |