@@ -102,7 +102,7 @@ public function isVertexInternal(Vertex $vertex)
102
102
* @param Vertex[] $vertices
103
103
* @param Vertex|null $ignore
104
104
* @throws UnexpectedValueException for cycles or directed edges (check isTree()!)
105
- * @uses self::getVerticesNeighboor ()
105
+ * @uses self::getVerticesNeighbor ()
106
106
* @uses self::getVerticesSubtreeRecursive() to recurse into sub-subtrees
107
107
*/
108
108
private function getVerticesSubtreeRecursive (Vertex $ vertex , &$ vertices , Vertex $ ignore = null )
@@ -113,7 +113,7 @@ private function getVerticesSubtreeRecursive(Vertex $vertex, &$vertices, Vertex
113
113
}
114
114
$ vertices [$ vertex ->getId ()] = $ vertex ;
115
115
116
- foreach ($ this ->getVerticesNeighboor ($ vertex ) as $ vertexNeighboor ) {
116
+ foreach ($ this ->getVerticesNeighbor ($ vertex ) as $ vertexNeighboor ) {
117
117
if ($ vertexNeighboor === $ ignore ) {
118
118
// ignore source vertex only once
119
119
$ ignore = null ;
@@ -124,7 +124,7 @@ private function getVerticesSubtreeRecursive(Vertex $vertex, &$vertices, Vertex
124
124
}
125
125
126
126
/**
127
- * get neighboor vertices for given start vertex
127
+ * get neighbor vertices for given start vertex
128
128
*
129
129
* @param Vertex $vertex
130
130
* @throws UnexpectedValueException for directed edges
@@ -133,7 +133,7 @@ private function getVerticesSubtreeRecursive(Vertex $vertex, &$vertices, Vertex
133
133
* @uses Edge::getVertexToFrom()
134
134
* @see Vertex::getVerticesEdge()
135
135
*/
136
- private function getVerticesNeighboor (Vertex $ vertex )
136
+ private function getVerticesNeighbor (Vertex $ vertex )
137
137
{
138
138
$ vertices = array ();
139
139
foreach ($ vertex ->getEdges () as $ edge ) {
0 commit comments