The expression return self::createSuppl...dge\DefaultEdge::class) returns the type Graphp\Util\Supplier which is incompatible with the documented return type Graphp\Edge\DefaultEdge.
Loading history...
41
}
42
43
/**
44
* Create a default weighted edge supplier
45
*
46
* @return DefaultWeightedEdge
47
*/
48
1
public static function createDefaultWeightedEdgeSupplier(): SupplierInterface
The expression return self::createSuppl...ultWeightedEdge::class) returns the type Graphp\Util\Supplier which is incompatible with the documented return type Graphp\Edge\DefaultWeightedEdge.
Loading history...
51
}
52
53
/**
54
* Create an integer supplier
55
*
56
* @return SupplierInterface
57
*/
58
1
public static function createIntegerSupplier(int $start = 0): SupplierInterface
59
{
60
1
return new IntegerSupplier($start);
61
}
62
63
/**
64
* Create a string supplier
65
*
66
* @return SupplierInterface
67
*/
68
1
public static function createStringSupplier(int $start = 0): SupplierInterface