| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | 78 | $attributes = array_filter($classAttributes, function ($attribute) { |
|
| 37 | 69 | return $attribute instanceof Property; |
|
| 38 | 78 | }); |
|
| 39 | |||
| 40 | 78 | return array_map(function (Property $attribute) { |
|
| 41 | return [ |
||
| 42 | 60 | "\${$attribute->props[0]->name}", |
|
| 43 | 60 | $this->resolveVisibility($attribute), |
|
| 44 | 60 | $attribute->getDocComment() |
|
| 45 | ]; |
||
| 49 |