| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | return new class($message, $code, $category) extends ControlledError |
||
|
|
|||
| 42 | { |
||
| 43 | /** |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | protected $category; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param string $message |
||
| 50 | * @param string $code |
||
| 51 | * @param null $category |
||
| 52 | */ |
||
| 53 | public function __construct($message, $code, $category = null) |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | public function getCategory(): string |
||
| 71 |