Completed
Branch master (3b6740)
by Josué
03:15
created
src/Connection.php 2 patches
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.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,8 @@
 block discarded – undo
241 241
     /**
242 242
      * @return int
243 243
      */
244
-    public function getServerMayorVersion(){
244
+    public function getServerMayorVersion()
245
+    {
245 246
         preg_match('/\\d+(:?\\.\\d+)+/', $this->serverVersion(), $matches);
246 247
         return (int)substr($matches[0], 0, strpos($matches[0], '.'));
247 248
     }
Please login to merge, or discard this patch.