| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 10 | private function __construct( |
|
| 14 | private readonly \ReflectionFunctionAbstract $reflection, |
||
| 15 | private readonly string $parameter, |
||
| 16 | ?string $message = null, |
||
| 17 | ) { |
||
| 18 | 10 | $message ??= "Unable to resolve required argument `{$parameter}` when resolving `%s` %s."; |
|
| 19 | 10 | parent::__construct($this->renderFunctionAndParameter($reflection, $message)); |
|
| 20 | } |
||
| 40 |