From f93d12d5dde9d5549721324f53e38e301848b56e Mon Sep 17 00:00:00 2001 From: Federico Bozzini Date: Sun, 27 May 2018 17:20:04 +0200 Subject: [PATCH] Added missing return type (#23) --- src/data-structures/graph/Graph.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data-structures/graph/Graph.js b/src/data-structures/graph/Graph.js index d9ac9089..e2ef20b7 100644 --- a/src/data-structures/graph/Graph.js +++ b/src/data-structures/graph/Graph.js @@ -28,6 +28,7 @@ export default class Graph { /** * @param {GraphVertex} vertex + * @returns {GraphVertex[]} */ getNeighbors(vertex) { return vertex.getNeighbors();