Skip to content

Commit 2ad8ff4

Browse files
committed
Merge pull request reactphp#116 from reactphp/fix-readme
Remove $loop arg from README example (thanks @DaveRandom)
2 parents c7a295b + a71b424 commit 2ad8ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $app = function ($request, $response) use (&$i) {
6464

6565
$loop = React\EventLoop\Factory::create();
6666
$socket = new React\Socket\Server($loop);
67-
$http = new React\Http\Server($socket, $loop);
67+
$http = new React\Http\Server($socket);
6868

6969
$http->on('request', $app);
7070

0 commit comments

Comments
 (0)