@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | list($host, $port) = explode(':', $this->dbSettings['host'], 2); |
160 | 160 | $this->dbSettings['host'] = $host; |
161 | 161 | if (is_numeric($port)) { |
162 | - $this->dbSettings['port'] = (int)$port; |
|
162 | + $this->dbSettings['port'] = (int) $port; |
|
163 | 163 | } |
164 | 164 | } |
165 | 165 | } |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | list($host, $port) = explode(':', $this->dbSettings['host'], 2); |
207 | 207 | $this->dbSettings['host'] = $host; |
208 | 208 | if (is_numeric($port)) { |
209 | - $this->dbSettings['port'] = (int)$port; |
|
209 | + $this->dbSettings['port'] = (int) $port; |
|
210 | 210 | } |
211 | 211 | } |
212 | 212 | } |
@@ -451,7 +451,7 @@ discard block |
||
451 | 451 | . ' ' |
452 | 452 | . '-u' . escapeshellarg($this->dbSettings['username']) |
453 | 453 | . ' ' |
454 | - . (isset($this->dbSettings['port']) && is_numeric($this->dbSettings['port']) && (int)$this->dbSettings['port'] > 0 |
|
454 | + . (isset($this->dbSettings['port']) && is_numeric($this->dbSettings['port']) && (int) $this->dbSettings['port'] > 0 |
|
455 | 455 | ? '-P' . escapeshellarg($this->dbSettings['port']) . ' ' : '') |
456 | 456 | . (strlen($this->dbSettings['password']) |
457 | 457 | ? '--password=' . escapeshellarg($this->dbSettings['password']) . ' ' : '') |