Skip to content

Commit 1623b53

Browse files
committed
Fixed versions use new static Finite constructor
1 parent 217a906 commit 1623b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/versions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
$loop = Factory::create();
1212

13-
$finite = new Finite($loop, 2);
13+
$finite = Finite::create($loop, 2);
1414

1515
$timer = $loop->addPeriodicTimer(1, function () use ($finite) {
1616
var_export(iteratorOrArrayToArray($finite->info()));

0 commit comments

Comments
 (0)