From 687af4849ead4ee6428966796271cc20286c58af Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 24 Apr 2024 00:24:48 +0300 Subject: [PATCH] fix port number --- README.md | 2 +- src/Server.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 489a4ed..1fc23bf 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ $server = new \Yggverse\Nex\Server; Provide optional `host`, `port` and `size` arguments in constructor or use available setters after object initiation. ``` php -$server = new \Yggverse\Nex\Server('127.0.0.1', 1915); +$server = new \Yggverse\Nex\Server('127.0.0.1', 1900); ``` #### Server::setHost diff --git a/src/Server.php b/src/Server.php index 3a49f68..f6f875b 100644 --- a/src/Server.php +++ b/src/Server.php @@ -11,7 +11,7 @@ class Server public function __construct( string $host = '127.0.0.1', - int $port = 1915, + int $port = 1900, int $size = 1024, bool $live = true ) {