| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | 17 | public function __construct(string $message = null, int $code = 0, Throwable $previous = null) |
|
| 22 | { |
||
| 23 | 17 | parent::__construct($message, $code, $previous); |
|
| 24 | |||
| 25 | 17 | if (\config('permission.log_registration_exception')) { |
|
| 26 | 17 | $logger = \app('log'); |
|
| 27 | 17 | $logger->alert($message); |
|
| 28 | } |
||
| 31 |