| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | 5 | public function visitProperty(Property $node) { |
|
| 17 | 5 | $prop = $node->props[0]; |
|
| 18 | |||
| 19 | 5 | $p = new PhpProperty($prop->name->name); |
|
| 20 | 5 | $p->setStatic($node->isStatic()); |
|
| 21 | 5 | $p->setVisibility($this->getVisibility($node)); |
|
| 22 | |||
| 23 | 5 | $this->parseValue($p, $prop); |
|
| 24 | 5 | $this->parseMemberDocblock($p, $node->getDocComment()); |
|
| 25 | |||
| 26 | 5 | $this->struct->setProperty($p); |
|
| 27 | 5 | } |
|
| 28 | |||
| 30 |