Completed
Push — master ( 391c2e...e5e5ec )
by Ventaquil
02:20
created
src/Graph.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @param Node $to
115 115
      * @return null|Connection
116 116
      */
117
-    public function getNearestConnection(Node $from, Node $to) : ?Connection
117
+    public function getNearestConnection(Node $from, Node $to) : ? Connection
118 118
     {
119 119
         /**
120 120
          * @var null|Connection $nearest
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * @param Node $to
140 140
      * @return null|float
141 141
      */
142
-    public function getNearestDistance(Node $from, Node $to) : ?float
142
+    public function getNearestDistance(Node $from, Node $to) : ? float
143 143
     {
144 144
         $nearest = $this->getNearestConnection($from, $to);
145 145
 
Please login to merge, or discard this patch.