Completed
Pull Request — master (#19)
by Flo
02:42
created
src/Http/Adapter/Socket.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,13 +43,13 @@
 block discarded – undo
43 43
         $req .= 'Content-Length: ' . strlen($requestBody) . "\r\n";
44 44
         $req .= 'Connection: close' . "\r\n\r\n";
45 45
 
46
-        $socket = stream_socket_client($protocol . $url . ':' . $port,$err, $errstr, 60, STREAM_CLIENT_CONNECT);
46
+        $socket = stream_socket_client($protocol . $url . ':' . $port, $err, $errstr, 60, STREAM_CLIENT_CONNECT);
47 47
 
48 48
         fputs($socket, $req);
49 49
 
50 50
         $res = '';
51 51
 
52
-        while(!feof($socket)) { $res .= fgets($socket, 128); }
52
+        while (!feof($socket)) { $res .= fgets($socket, 128); }
53 53
         fclose($socket);
54 54
 
55 55
         $this->response = $res;
Please login to merge, or discard this patch.
src/View/Helper/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         }
69 69
 
70
-        $path = str_replace('//' , '/', $path);
70
+        $path = str_replace('//', '/', $path);
71 71
 
72 72
         if ($absolute) {
73 73
 
Please login to merge, or discard this patch.