Completed
Push — master ( 4e8d35...0fba55 )
by Josué
03:08
created
src/Connection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function getClientMayorVersion()
29 29
     {
30 30
         $clientVersion = $this->clientVersion();
31
-        return (int)substr($clientVersion, 0, strpos($clientVersion, '.'));
31
+        return (int) substr($clientVersion, 0, strpos($clientVersion, '.'));
32 32
     }
33 33
 
34 34
     /**
@@ -241,9 +241,9 @@  discard block
 block discarded – undo
241 241
     /**
242 242
      * @return int
243 243
      */
244
-    public function getServerMayorVersion(){
244
+    public function getServerMayorVersion() {
245 245
         preg_match('/\\d+(:?\\.\\d+)+/', $this->serverVersion(), $matches);
246
-        return (int)substr($matches[0], 0, strpos($matches[0], '.'));
246
+        return (int) substr($matches[0], 0, strpos($matches[0], '.'));
247 247
     }
248 248
 
249 249
     /**
Please login to merge, or discard this patch.