@@ -28,7 +28,7 @@ discard block |
||
| 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 |
||
| 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 | /** |