| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function __construct(ReflectionParameter $parameter, ReflectionFunctionAbstract $context) |
||
| 42 | { |
||
| 43 | $this->parameter = $parameter; |
||
| 44 | $this->context = $context; |
||
| 45 | |||
| 46 | $name = $context->getName(); |
||
| 47 | if ($context instanceof ReflectionMethod) { |
||
| 48 | $name = $context->class . '::' . $name; |
||
| 49 | } |
||
| 50 | |||
| 51 | parent::__construct("Unable to resolve '{$parameter->name}' argument in '{$name}'"); |
||
| 52 | } |
||
| 70 |