| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function docBlock(ParameterInformation $parameter) |
||
| 31 | { |
||
| 32 | $this->parameter = $parameter; |
||
| 33 | |||
| 34 | if (!$parameter->isObject()) { |
||
| 35 | return $this->documentPrimitive(); |
||
| 36 | } |
||
| 37 | |||
| 38 | if (empty($parameter->getImplements())) { |
||
| 39 | return $this->documentClass(); |
||
| 40 | } |
||
| 41 | |||
| 42 | return $this->documentInterfaces(); |
||
| 43 | } |
||
| 44 | |||
| 66 |