Passed
Push — master ( 077c48...273280 )
by Krisztián
03:41 queued 20s
created
src/IO/CacheIOHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function createServerSocket()
38 38
     {
39 39
         $socketType = AF_INET;
40
-        if($this->socketType == self::SOCKET_TYPE_FILE) {
40
+        if ($this->socketType == self::SOCKET_TYPE_FILE) {
41 41
             $socketType = AF_UNIX;
42 42
         }
43 43
         $socket = socket_create($socketType, SOCK_STREAM, 0);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public function createClientSocket()
65 65
     {
66 66
         $socketType = AF_INET;
67
-        if($this->socketType == self::SOCKET_TYPE_FILE) {
67
+        if ($this->socketType == self::SOCKET_TYPE_FILE) {
68 68
             $socketType = AF_UNIX;
69 69
         }
70 70
         $socket = socket_create($socketType, SOCK_STREAM, 0);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     
109 109
     public function removeSocketFile()
110 110
     {
111
-        if($this->socketType == self::SOCKET_TYPE_FILE) {
111
+        if ($this->socketType == self::SOCKET_TYPE_FILE) {
112 112
             unlink($this->location);
113 113
         }
114 114
     }
Please login to merge, or discard this patch.