diff --git a/app/http.php b/app/http.php index d6f0dfe1eb..b4830d9def 100644 --- a/app/http.php +++ b/app/http.php @@ -33,15 +33,15 @@ $http ]) ; -$http->on('WorkerStart', function($serv, $workerId) { - Console::success('Worker '.++$workerId.' started succefully'); +$http->on('WorkerStart', function($server, $workerId) { + Console::success('Worker '.++$workerId.' started successfully'); }); -$http->on('BeforeReload', function($serv, $workerId) { +$http->on('BeforeReload', function($server, $workerId) { Console::success('Starting reload...'); }); -$http->on('AfterReload', function($serv, $workerId) { +$http->on('AfterReload', function($server, $workerId) { Console::success('Reload completed...'); }); @@ -138,7 +138,7 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) { } }); - Console::success('Server started succefully (max payload is '.number_format($payloadSize).' bytes)'); + Console::success('Server started successfully (max payload is '.number_format($payloadSize).' bytes)'); Console::info("Master pid {$http->master_pid}, manager pid {$http->manager_pid}");