| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | 2 | public function __construct |
|
| 34 | ( |
||
| 35 | string $class, |
||
| 36 | string $parameter, |
||
| 37 | Throwable $previous = null |
||
| 38 | ) |
||
| 39 | { |
||
| 40 | 2 | parent::__construct |
|
| 41 | ( |
||
| 42 | 'Missing required parameter in constructor. ' |
||
| 43 | 2 | . $class . ' requires a value for ' . $parameter, |
|
| 44 | 2 | 0, |
|
| 45 | 2 | $previous |
|
| 46 | ); |
||
| 47 | 2 | } |
|
| 48 | } |
||
| 49 |