Completed
Pull Request — master (#11)
by Rudolph
02:01
created
src/ComposerRequireChecker/NodeVisitor/UsedSymbolCollector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     private function recordCatchUsage(Node $node)
91 91
     {
92 92
         if ($node instanceof Node\Stmt\Catch_) {
93
-            foreach($node->types as $type) {
93
+            foreach ($node->types as $type) {
94 94
                 $this->recordUsageOf($type);
95 95
             }
96 96
         }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
     private function recordTraitUsage(Node $node)
148 148
     {
149
-        if (! $node instanceof Node\Stmt\TraitUse) {
149
+        if (!$node instanceof Node\Stmt\TraitUse) {
150 150
             return;
151 151
         }
152 152
 
Please login to merge, or discard this patch.