Conditions | 5 |
Paths | 16 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function generate() |
||
27 | { |
||
28 | $output = '@param' |
||
29 | . ((!empty($this->types)) ? ' ' . $this->getTypesAsString() : '') |
||
30 | . ((!empty($this->variableName)) ? ' $' . $this->variableName : '') |
||
31 | . ((!empty($this->default)) ? ' = ' . $this->default : '') |
||
32 | . ((!empty($this->description)) ? ' ' . $this->description : ''); |
||
33 | |||
34 | return $output; |
||
35 | } |
||
36 | |||
44 |