Skip to content

Commit

Permalink
Added missing return type (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobozzini authored and trekhleb committed May 27, 2018
1 parent 2e3860f commit f93d12d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data-structures/graph/Graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default class Graph {

/**
* @param {GraphVertex} vertex
* @returns {GraphVertex[]}
*/
getNeighbors(vertex) {
return vertex.getNeighbors();
Expand Down

0 comments on commit f93d12d

Please sign in to comment.