| Conditions | 4 |
| Paths | 3 |
| Total Lines | 17 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function enterNode(Node $node): ?Node |
||
| 42 | { |
||
| 43 | if (!($node instanceof Class_ || $node instanceof Interface_)) { |
||
| 44 | return null; |
||
| 45 | } |
||
| 46 | |||
| 47 | $name = $node->name; |
||
| 48 | |||
| 49 | if (null === $name) { |
||
| 50 | return null; |
||
| 51 | } |
||
| 52 | |||
| 53 | $resolvedName = $this->identifierResolver->resolveIdentifier($name); |
||
| 54 | |||
| 55 | $name->setAttribute('resolvedName', $resolvedName); |
||
| 56 | |||
| 57 | return null; |
||
| 58 | } |
||
| 60 |