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 12
12
],
13
13
"require" : {
14
14
"php" : " >=5.3" ,
15
- "clue/graph" : " ~0.8.0"
15
+ "clue/graph" : " ~0.9.0|~0. 8.0"
16
16
},
17
17
"require-dev" : {
18
18
"phpunit/phpunit" : " ~4.0"
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function getDegree()
55
55
*/
56
56
public function getDegreeMin ()
57
57
{
58
- return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (Vertices:: ORDER_DEGREE ));
58
+ return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (array ( $ this , ' getDegreeVertex ' ) ));
59
59
}
60
60
61
61
/**
@@ -68,7 +68,7 @@ public function getDegreeMin()
68
68
*/
69
69
public function getDegreeMax ()
70
70
{
71
- return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (Vertices:: ORDER_DEGREE , true ));
71
+ return $ this ->getDegreeVertex ($ this ->graph ->getVertices ()->getVertexOrder (array ( $ this , ' getDegreeVertex ' ) , true ));
72
72
}
73
73
74
74
/**
You can’t perform that action at this time.
0 commit comments