diff --git a/README.md b/README.md index 624ab93f..3a76c167 100644 --- a/README.md +++ b/README.md @@ -736,7 +736,7 @@ $server->on('connection', function (ConnectionInterface $connection) { You MAY pass a `null` limit in order to put no limit on the number of open connections and keep accepting new connection until you run out of operating system resources (such as open file handles). This may be -useful it you do not want to take care of applying a limit but still want +useful if you do not want to take care of applying a limit but still want to use the `getConnections()` method. You can optionally configure the server to pause accepting new diff --git a/src/LimitingServer.php b/src/LimitingServer.php index 68382b7a..453ff249 100644 --- a/src/LimitingServer.php +++ b/src/LimitingServer.php @@ -60,7 +60,7 @@ class LimitingServer extends EventEmitter implements ServerInterface * You MAY pass a `null` limit in order to put no limit on the number of * open connections and keep accepting new connection until you run out of * operating system resources (such as open file handles). This may be - * useful it you do not want to take care of applying a limit but still want + * useful if you do not want to take care of applying a limit but still want * to use the `getConnections()` method. * * You can optionally configure the server to pause accepting new