@@ -129,7 +129,7 @@ |
||
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); |