Conditions | 3 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | 7 | public function __construct(\ReflectionParameter $param) { |
|
24 | 7 | parent::__construct($param->getClass() ? $param->getClass()->name : ''); |
|
25 | |||
26 | 7 | $this->parameter = $param->name; |
|
27 | 7 | $this->function = ($param->getDeclaringClass() ? $param->getDeclaringClass()->name.'::' : ''). |
|
28 | 7 | $param->getDeclaringFunction()->name.'()'; |
|
29 | 7 | } |
|
59 |