@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * @param string $ip |
| 35 | 35 | * @return IoServer |
| 36 | 36 | */ |
| 37 | - public static function run(AbstractMultiRoomServer $chatServer, $port, $ip='0.0.0.0') |
|
| 37 | + public static function run(AbstractMultiRoomServer $chatServer, $port, $ip = '0.0.0.0') |
|
| 38 | 38 | { |
| 39 | 39 | $wsServer = new WsServer($chatServer); |
| 40 | 40 | $http = new HttpServer($wsServer); |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -require_once __DIR__ . "/../vendor/autoload.php"; |
|
| 2 | +require_once __DIR__."/../vendor/autoload.php"; |
|
| 3 | 3 | |
| 4 | 4 | $port = 9911; |
| 5 | 5 | $server = new \pmill\Chat\BasicMultiRoomServer; |