Passed
Push — master ( dce18f...ffae54 )
by Omar
02:09
created
src/BFS/BreadthFirstPaths.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function hasPathTo(int $vertex)
143 143
     {
144
-         // validate this vertex in the context of the given graph
144
+            // validate this vertex in the context of the given graph
145 145
         Graph::validateVertex($vertex, $this->graph->getVertices());
146 146
         // return the flag
147 147
         return $this->marked[$vertex];
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      */
154 154
     public function distTo(int $vertex)
155 155
     {
156
-         // validate this vertex in the context of the given graph
156
+            // validate this vertex in the context of the given graph
157 157
         Graph::validateVertex($vertex, $this->graph->getVertices());
158 158
         // return the value
159 159
         return $this->distTo[$vertex];
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      */
166 166
     public function pathTo(int $vertex)
167 167
     {
168
-         // validate this vertex in the context of the given graph
168
+            // validate this vertex in the context of the given graph
169 169
         Graph::validateVertex($vertex, $this->graph->getVertices());
170 170
         // check if there is a path
171 171
         if (!$this->hasPathTo($vertex)) {
Please login to merge, or discard this patch.
src/DFS/DepthFirstOrder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,6 +111,6 @@
 block discarded – undo
111 111
      */
112 112
     public function reversePostorder()
113 113
     {
114
-       return $this->reversePost;
114
+        return $this->reversePost;
115 115
     }
116 116
 }
117 117
\ No newline at end of file
Please login to merge, or discard this patch.