Completed
Push — master ( 7438b4...3cc347 )
by Ventaquil
03:01
created
src/Dijkstra.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
             if (!is_null($relation)) {
95 95
                 $point = $relation->to
96
-                                  ->id;
96
+                                    ->id;
97 97
             } else {
98 98
                 $point = $paths[$point]->nodes[0];
99 99
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             if (isset($paths[$relation->to->id])) {
144 144
                 if ($paths[$relation->to->id]->distance > ($paths[$point]->distance + $relation->distance)) {
145 145
                     $paths[$relation->to->id]->copy($paths[$point])
146
-                                             ->addNode($relation->to->id, $relation->distance);
146
+                                                ->addNode($relation->to->id, $relation->distance);
147 147
                 }
148 148
             } else {
149 149
                 $paths[$relation->to->id] = (new Path())->copy($paths[$point])
Please login to merge, or discard this patch.