@@ -34,7 +34,7 @@ |
||
34 | 34 | { |
35 | 35 | if ($px1 = strpos($host, '@')) { |
36 | 36 | $px2 = strpos($host, ':', ($pxs = strpos($host, '://')) ? $pxs + 3 : 0); |
37 | - return substr($host, 0, $px2 + 1) . '***' . substr($host, $px1); |
|
37 | + return substr($host, 0, $px2 + 1).'***'.substr($host, $px1); |
|
38 | 38 | } |
39 | 39 | return $host; |
40 | 40 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | public function notify(int $evk, Conn $conn) : void |
56 | 56 | { |
57 | 57 | if ($this->has($evk)) { |
58 | - array_map(static function (callable $observer) use ($conn) { |
|
58 | + array_map(static function(callable $observer) use ($conn) { |
|
59 | 59 | $observer($conn); |
60 | 60 | }, $this->observers[$evk]); |
61 | 61 | } |