Skip to content

Commit 03e2216

Browse files
committed
Fix minor glitches
1 parent 63d8389 commit 03e2216

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
include_once __DIR__.'/../vendor/autoload.php';
1010

11-
$loop = $loop = React\EventLoop\Factory::create();
11+
$loop = React\EventLoop\Factory::create();
1212

1313
$dnsResolverFactory = new React\Dns\Resolver\Factory();
1414
$dns = $dnsResolverFactory->createCached('8.8.8.8', $loop);
@@ -98,7 +98,7 @@ function (Exception $error) use ($name) {
9898

9999
$loop->addTimer(8, function() use ($loop) {
100100
$loop->stop();
101-
echo 'STOP - stopping mainloop after 5 seconds' . PHP_EOL;
101+
echo 'STOP - stopping mainloop after 8 seconds' . PHP_EOL;
102102
});
103103

104104
$loop->run();

0 commit comments

Comments
 (0)