| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function write(NodeInterface $node): string |
||
| 16 | { |
||
| 17 | $variable = $this->printNode($node->getVariable()); |
||
|
|
|||
| 18 | $type = $this->printNode($node->getType()); |
||
| 19 | $defaultValue = $this->printNode($node->getDefaultValue()); |
||
| 20 | |||
| 21 | return $variable . ': ' . $type . wrap(' = ', $defaultValue); |
||
| 22 | } |
||
| 32 |