This commit is contained in:
Marcel Pociot 2018-12-03 21:02:21 +01:00
parent b1f3b4661f
commit 08035dd5d3
2 changed files with 3 additions and 3 deletions

View File

@ -25,6 +25,7 @@
"php": "^7.1", "php": "^7.1",
"ext-json": "*", "ext-json": "*",
"cboden/ratchet": "^0.4.1", "cboden/ratchet": "^0.4.1",
"clue/buzz-react": "^2.5",
"illuminate/broadcasting": "5.7.*", "illuminate/broadcasting": "5.7.*",
"illuminate/console": "5.7.*", "illuminate/console": "5.7.*",
"illuminate/http": "5.7.*", "illuminate/http": "5.7.*",
@ -32,8 +33,7 @@
"illuminate/support": "5.7.*", "illuminate/support": "5.7.*",
"pusher/pusher-php-server": "~3.0", "pusher/pusher-php-server": "~3.0",
"symfony/http-kernel": "~4.0", "symfony/http-kernel": "~4.0",
"symfony/psr-http-message-bridge": "^1.1", "symfony/psr-http-message-bridge": "^1.1"
"wyrihaximus/react-guzzle-psr7": "^2.1"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^1.2", "mockery/mockery": "^1.2",

View File

@ -61,7 +61,7 @@ class StartWebSocketServer extends Command
$this->loop->addPeriodicTimer(5, function() { $this->loop->addPeriodicTimer(5, function() {
echo 'saving stats...'; echo 'saving stats...';
StatisticsLogger::save($this->loop); StatisticsLogger::save();
}); });
return $this; return $this;