Skip to content

Commit 49bc291

Browse files
authored
Merge pull request #106 from lyrixx/php8-4
Add support for PHP 8.4
2 parents 323a2b2 + 92d14da commit 49bc291

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## Unreleased
6+
7+
* Add support for PHP 8.4
8+
59
## 1.11.0 - 2024-10-18
610

711
### What's Changed

src/Ssh.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Ssh
2222

2323
private int $timeout = 0;
2424

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

0 commit comments

Comments
 (0)