Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | protected function classProperties() |
||
31 | { |
||
32 | $properties = []; |
||
33 | foreach ($this->params['params'] as $param) { |
||
34 | if (is_string($param)) { |
||
35 | continue; |
||
36 | } |
||
37 | $properties[$param['name']] = [ |
||
38 | 'comment' => [ |
||
39 | stripAndWordWrap(stripSpaces($param['description'])), |
||
40 | '@var ' . formParamType($param['type']) |
||
41 | ] |
||
42 | ]; |
||
43 | } |
||
44 | return $properties; |
||
45 | } |
||
46 | } |