We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6f3db2 commit 5563054Copy full SHA for 5563054
src/Degree.php
@@ -55,7 +55,7 @@ public function getDegree()
55
*/
56
public function getDegreeMin()
57
{
58
- return $this->getDegreeVertex($this->graph->getVertices()->getVertexOrder(Vertices::ORDER_DEGREE));
+ return $this->getDegreeVertex($this->graph->getVertices()->getVertexOrder(array($this, 'getDegreeVertex')));
59
}
60
61
/**
@@ -68,7 +68,7 @@ public function getDegreeMin()
68
69
public function getDegreeMax()
70
71
- return $this->getDegreeVertex($this->graph->getVertices()->getVertexOrder(Vertices::ORDER_DEGREE, true));
+ return $this->getDegreeVertex($this->graph->getVertices()->getVertexOrder(array($this, 'getDegreeVertex'), true));
72
73
74
0 commit comments