Skip to content

Commit

Permalink
fix: Ensure port is a string when creating credentials file for Postg…
Browse files Browse the repository at this point in the history
…res (#203)
  • Loading branch information
RVxLab authored Dec 25, 2023
1 parent 8ff1240 commit 59beef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Databases/PostgreSql.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getContentsOfCredentialsFile(): string
{
$contents = [
$this->escapeCredentialEntry($this->host),
$this->escapeCredentialEntry($this->port),
$this->escapeCredentialEntry((string) $this->port),
$this->escapeCredentialEntry($this->dbName),
$this->escapeCredentialEntry($this->userName),
$this->escapeCredentialEntry($this->password),
Expand Down

0 comments on commit 59beef7

Please sign in to comment.