Test Setup Failed
Push — master ( 2d0e6f...d67cdc )
by Alexpts
01:40
created
src/Socket.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
     public function connect(string $address, array $options = []): static
13 13
     {
14 14
         if ($this->target === null) {
15
-            $timeout = (float)($options['timeout'] ??(float) ini_get('default_socket_timeout'));
15
+            $timeout = (float) ($options['timeout'] ?? (float) ini_get('default_socket_timeout'));
16 16
             $port = $options['port'] ?? 0;
17
-            $url = $this->schema . $address;
17
+            $url = $this->schema.$address;
18 18
             $this->target = fsockopen($url, $port, $this->errorNumber, $this->errorMessage, $timeout);
19 19
         }
20 20
 
Please login to merge, or discard this patch.