Passed
Push — master ( f5df42...12fd03 )
by Benjamin
40s
created
src/Dijkstra.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
          *  PREDECESSOR(child-node) = parent-node
130 130
          * ENDIF
131 131
          */
132
-        if (! $this->weights[$child->ref]['passed']
132
+        if ( ! $this->weights[$child->ref]['passed']
133 133
             && ($this->weights[$parent->ref]['weight'] + static::distance($parent, $child) < $this->weights[$child->ref]['weight']
134 134
                 || $this->weights[$child->ref]['weight'] === -1)) {
135 135
             $this->weights[$child->ref]['weight'] = $this->weights[$parent->ref]['weight'] + static::distance($parent, $child);
Please login to merge, or discard this patch.