Passed
Branch master (a8240d)
by Shiyu
02:57
created
Category
src/Chips/Endpoint/Printable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.