Completed
Pull Request — master (#56)
by Daniel
09:02
created
lib/Subscriber/Behavior/Path/AutoNameSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
      */
182 182
     private function rename(NodeInterface $node, $name)
183 183
     {
184
-        $names = (array)$node->getParent()->getNodeNames();
184
+        $names = (array) $node->getParent()->getNodeNames();
185 185
         $pos = array_search($node->getName(), $names);
186 186
         $next = isset($names[$pos + 1]) ? $names[$pos + 1] : null;
187 187
 
Please login to merge, or discard this patch.