Completed
Pull Request — master (#497)
by
unknown
20s
created
src/Hal/Metric/Class_/Structural/SystemComplexityVisitor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                     $fanout = [];
52 52
 
53 53
                     $parentNode = $node;
54
-                    iterate_over_node($node, function ($node) use (&$output, &$fanout, $parentNode) {
54
+                    iterate_over_node($node, function($node) use (&$output, &$fanout, $parentNode) {
55 55
                         switch (true) {
56 56
                             case $node instanceof Stmt\Return_:
57 57
                                 $output++;
@@ -61,14 +61,14 @@  discard block
 block discarded – undo
61 61
                                 if ('static' === $class || 'self' === $class) {
62 62
                                     $class = getNameOfNode($parentNode);
63 63
                                 }
64
-                                $fanout[] = $class . '::' . getNameOfNode($node->name) . '()';
64
+                                $fanout[] = $class.'::'.getNameOfNode($node->name).'()';
65 65
                                 break;
66 66
                             case $node instanceof Node\Expr\MethodCall:
67 67
                                 $class = getNameOfNode($node->var);
68 68
                                 if ('this' === $class) {
69 69
                                     $class = getNameOfNode($parentNode);
70 70
                                 }
71
-                                $fanout[] = $class . '->' . getNameOfNode($node->name) . '()';
71
+                                $fanout[] = $class.'->'.getNameOfNode($node->name).'()';
72 72
                                 break;
73 73
                         }
74 74
                     });
Please login to merge, or discard this patch.