File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212 ],
1313 "require" : {
1414 "php" : " >=5.3" ,
15- "clue/graph" : " ~0.8.0"
15+ "clue/graph" : " ~0.9.0|~0. 8.0"
1616 },
1717 "require-dev" : {
1818 "phpunit/phpunit" : " ~4.0"
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function getDegree()
5555 */
5656 public function getDegreeMin ()
5757 {
58- return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (Vertices:: ORDER_DEGREE ));
58+ return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (array ( $ this , ' getDegreeVertex ' ) ));
5959 }
6060
6161 /**
@@ -68,7 +68,7 @@ public function getDegreeMin()
6868 */
6969 public function getDegreeMax ()
7070 {
71- return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (Vertices:: ORDER_DEGREE , true ));
71+ return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (array ( $ this , ' getDegreeVertex ' ) , true ));
7272 }
7373
7474 /**
You can’t perform that action at this time.
0 commit comments