Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function build(array $classAttributes): array |
||
24 | { |
||
25 | return array_map(function (Property $attribute) { |
||
26 | return [ |
||
27 | "\${$attribute->props[0]->name}", |
||
28 | $this->resolveVisibility($attribute), |
||
29 | $attribute->getDocComment() |
||
30 | ]; |
||
31 | }, array_filter($classAttributes, function ($attribute) { |
||
32 | return $attribute instanceof Property; |
||
33 | })); |
||
48 |