| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | 1 | public function __construct(ReflectionParameter $parameter) |
|
| 12 | { |
||
| 13 | 1 | parent::__construct( |
|
| 14 | 1 | sprintf( |
|
| 15 | 'Can not determine default value of parameter "%s" when instantinate "%s" ' . |
||
| 16 | 1 | 'because it is PHP internal. Please specify argument explicitly.', |
|
| 17 | 1 | $parameter->getName(), |
|
| 18 | 1 | $this->getCallable($parameter), |
|
| 19 | ) |
||
| 36 |