Skip to content

Cast SSH port to string before adding to connection options array#4206

Closed
Sn0wCrack wants to merge 1 commit intodeployphp:masterfrom
Sn0wCrack:patch-1
Closed

Cast SSH port to string before adding to connection options array#4206
Sn0wCrack wants to merge 1 commit intodeployphp:masterfrom
Sn0wCrack:patch-1

Conversation

@Sn0wCrack
Copy link
Copy Markdown

This function is hinted as a string[] but Host::getPort() can return an int or string.

This causes issues in the rsync_rsh function has it passes the values of the array to functions that require a string to be used.

  • Bug fix #…?
  • New feature?
  • BC breaks?
  • Tests added?
  • Docs added?

This function is hinted as a `string[]` but `Host::getPort()` can return an int or string.

This causes issues in the `rsync_rsh` function has it passes the values of the array to functions that require a string to be used.
@antonmedv
Copy link
Copy Markdown
Member

Already fixed!

@antonmedv antonmedv closed this May 1, 2026
@Sn0wCrack Sn0wCrack deleted the patch-1 branch May 1, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants