Skip to content

Commit

Permalink
Merge pull request #106 from lyrixx/php8-4
Browse files Browse the repository at this point in the history
Add support for PHP 8.4
  • Loading branch information
Nielsvanpach authored Nov 6, 2024
2 parents 323a2b2 + 92d14da commit 49bc291
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `ssh` will be documented in this file

## Unreleased

* Add support for PHP 8.4

## 1.11.0 - 2024-10-18

### What's Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Ssh.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Ssh

private int $timeout = 0;

public function __construct(?string $user, string $host, int $port = null)
public function __construct(?string $user, string $host, ?int $port = null)
{
$this->user = $user;

Expand Down

0 comments on commit 49bc291

Please sign in to comment.