@@ -58,13 +58,13 @@ |
||
| 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) { |