We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a99f0 commit 9186487Copy full SHA for 9186487
system/Database/OCI8/Connection.php
@@ -632,7 +632,7 @@ protected function buildDSN()
632
}
633
634
$isEasyConnectableHostName = $this->hostname !== '' && ! str_contains($this->hostname, '/') && ! str_contains($this->hostname, ':');
635
- $easyConnectablePort = ! empty($this->port) && ctype_digit($this->port) ? ':' . $this->port : '';
+ $easyConnectablePort = ! empty($this->port) && ctype_digit((string) $this->port) ? ':' . $this->port : '';
636
$easyConnectableDatabase = $this->database !== '' ? '/' . ltrim($this->database, '/') : '';
637
638
if ($isEasyConnectableHostName && ($easyConnectablePort !== '' || $easyConnectableDatabase !== '')) {
0 commit comments