@@ -42,10 +42,10 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * Get the edge set |
|
46 | - * |
|
47 | - * @return EdgeSet |
|
48 | - */ |
|
45 | + * Get the edge set |
|
46 | + * |
|
47 | + * @return EdgeSet |
|
48 | + */ |
|
49 | 49 | public function getEdgeSet(): EdgeSet |
50 | 50 | { |
51 | 51 | return $this->edgeSet; |
@@ -76,12 +76,12 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
79 | - * Get the edge target vertex |
|
80 | - * |
|
81 | - * @param EdgeInterface $edge - the edge |
|
82 | - * |
|
83 | - * @return VertexInterface |
|
84 | - */ |
|
79 | + * Get the edge target vertex |
|
80 | + * |
|
81 | + * @param EdgeInterface $edge - the edge |
|
82 | + * |
|
83 | + * @return VertexInterface |
|
84 | + */ |
|
85 | 85 | public function getEdgeTarget(EdgeInterface $edge): VertexInterface |
86 | 86 | { |
87 | 87 | return $edge->getTarget(); |
@@ -394,13 +394,13 @@ |
||
394 | 394 | public function __toString(): string |
395 | 395 | { |
396 | 396 | if (!empty($this->vertexList)) { |
397 | - return implode('', array_map(function ($vertex) { |
|
397 | + return implode('', array_map(function($vertex) { |
|
398 | 398 | return (string) $vertex; |
399 | 399 | }, $this->vertexList)); |
400 | 400 | } |
401 | 401 | |
402 | 402 | if (!empty($this->edgeList)) { |
403 | - return implode('', array_map(function ($edge) { |
|
403 | + return implode('', array_map(function($edge) { |
|
404 | 404 | return (string) $edge; |
405 | 405 | }, $this->edgeList)); |
406 | 406 | } |