Skip to content

Commit bf1d423

Browse files
committed
Fix createDriver call to be static
1 parent 0e4194b commit bf1d423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Loop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function setFactory(LoopDriverFactory $factory = null) {
3434
*/
3535
public static function execute(callable $callback, LoopDriver $driver = null)
3636
{
37-
$driver = $driver ?: $this->createDriver();
37+
$driver = $driver ?: self::createDriver();
3838
$previousRegistry = self::$registry;
3939

4040
$previousDriver = self::$driver;

0 commit comments

Comments
 (0)