@@ -87,6 +87,6 @@ |
||
| 87 | 87 | */ |
| 88 | 88 | public function __toString(): string |
| 89 | 89 | { |
| 90 | - return "(" . $this->sourceVertex + " : " + $this->targetVertex + ")"; |
|
| 90 | + return "(" . $this->sourceVertex + " : " +$this->targetVertex + ")"; |
|
| 91 | 91 | } |
| 92 | 92 | } |
@@ -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(); |