Update dependencies

This commit is contained in:
ErickSkrauch
2019-12-13 20:02:58 +03:00
parent 40eca5b8b6
commit 26f7d6213f
8 changed files with 708 additions and 1107 deletions

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types=1);
namespace common\components;
use Domnikl\Statsd\Client;
@@ -80,7 +82,7 @@ class StatsD extends Component {
protected function createConnection(): Connection {
if (!empty($this->host) && !empty($this->port)) {
return new Connection\UdpSocket($this->host, $this->port);
return new Connection\UdpSocket($this->host, (int)$this->port);
}
return new Connection\Blackhole();