Skip to content

Commit 1b42908

Browse files
committed
Fix outdated default parameter to be required
The parameter was meant to be required and its default value didn't work in the first place. Fixes clue/graph-uml#25
1 parent 09e8694 commit 1b42908

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Fhaculty/Graph/Set/Vertices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function getVerticesMatch($callbackCheck)
270270
* @throws InvalidArgumentException if criterium is unknown
271271
* @see self::getVertexOrder()
272272
*/
273-
public function getVerticesOrder($orderBy = self::ORDER_FIFO, $desc = false)
273+
public function getVerticesOrder($orderBy, $desc = false)
274274
{
275275
if ($orderBy === self::ORDER_RANDOM) {
276276
// shuffle the vertex positions

0 commit comments

Comments
 (0)