| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function leaveNode(Node $node) |
||
| 47 | { |
||
| 48 | if ($node instanceof Node\Stmt\Class_) { |
||
| 49 | $node->extends = new Node\Name($this->extends); |
||
| 50 | $node->name->name = $this->name; |
||
| 51 | if ($this->canBeImplemented($node)) { |
||
| 52 | $node->implements[] = new Node\Name($this->implements); |
||
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 56 | return null; |
||
| 57 | } |
||
| 58 | |||
| 75 |