@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Hal\Metric\Class_\Complexity; |
| 3 | 3 | |
| 4 | -use Hal\Component\Reflected\Method; |
|
| 5 | 4 | use Hal\Metric\Helper\MetricClassNameGenerator; |
| 6 | 5 | use Hal\Metric\Metrics; |
| 7 | 6 | use PhpParser\Node; |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | public static function getName(Node $node) |
| 18 | 18 | { |
| 19 | 19 | return ($node instanceof Node\Stmt\Class_ && $node->isAnonymous()) ? |
| 20 | - 'anonymous@' . spl_object_hash($node) : |
|
| 21 | - $node->namespacedName->toString(); |
|
| 20 | + 'anonymous@'.spl_object_hash($node) : $node->namespacedName->toString(); |
|
| 22 | 21 | } |
| 23 | 22 | } |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Hal\Metric\Class_\Complexity; |
| 3 | 3 | |
| 4 | -use Hal\Component\Reflected\Method; |
|
| 5 | 4 | use Hal\Metric\Helper\MetricClassNameGenerator; |
| 6 | 5 | use Hal\Metric\Metrics; |
| 7 | 6 | use PhpParser\Node; |