Completed
Pull Request — master (#336)
by Oskar
01:39
created
src/Hal/Metric/Helper/RoleOfMethodDetector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,13 +58,13 @@
 block discarded – undo
58 58
      */
59 59
     public function detects($node)
60 60
     {
61
-        if (! $node instanceof ClassMethod) {
61
+        if (!$node instanceof ClassMethod) {
62 62
             return null;
63 63
         }
64 64
 
65 65
         // build a fingerprint of the given method
66 66
         $fingerprintOfMethod = [];
67
-        iterate_over_node($node, function ($node) use (&$fingerprintOfMethod) {
67
+        iterate_over_node($node, function($node) use (&$fingerprintOfMethod) {
68 68
 
69 69
             // avoid cast
70 70
             if ($node instanceof Cast) {
Please login to merge, or discard this patch.