Completed
Pull Request — master (#34)
by Matthias
04:58
created
src/ComposerRequireChecker/NodeVisitor/DefinedSymbolCollector.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
      */
91 91
     private function recordDefinitionOf(Node $node)
92 92
     {
93
-        if (! isset($node->namespacedName)) {
93
+        if (!isset($node->namespacedName)) {
94 94
             throw new \UnexpectedValueException(sprintf(
95 95
                 'Given node of type "%s" (defined at line %s)does not have an assigned "namespacedName" property: '
96 96
                 . 'did you pass it through a name resolver visitor?',
@@ -99,6 +99,6 @@  discard block
 block discarded – undo
99 99
             ));
100 100
         }
101 101
 
102
-        $this->definedSymbols[(string) $node->namespacedName] = $node->namespacedName;
102
+        $this->definedSymbols[(string)$node->namespacedName] = $node->namespacedName;
103 103
     }
104 104
 }
Please login to merge, or discard this patch.