Completed
Branch master (af783c)
by Josué
02:11
created
src/Oci8Base.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
         return $error;
16 16
     }
17 17
 
18
+    /**
19
+     * @return callable
20
+     */
18 21
     protected function getErrorHandler()
19 22
     {
20 23
         if (!$this->errorHandler) {
Please login to merge, or discard this patch.
src/Oci8Connection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     public function getClientMayorVersion()
105 105
     {
106 106
         $clientVersion = $this->getClientVersion();
107
-        return (int)substr($clientVersion, 0, strpos($clientVersion, '.'));
107
+        return (int) substr($clientVersion, 0, strpos($clientVersion, '.'));
108 108
     }
109 109
 
110 110
     public function getClientVersion()
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     public function getServerMayorVersion()
140 140
     {
141 141
         preg_match('/\\d+(:?\\.\\d+)+/', $this->getServerVersion(), $matches);
142
-        return (int)substr($matches[0], 0, strpos($matches[0], '.'));
142
+        return (int) substr($matches[0], 0, strpos($matches[0], '.'));
143 143
     }
144 144
 
145 145
     public function getServerVersion()
Please login to merge, or discard this patch.