diff --git a/phpseclib/System/SSH/Agent.php b/phpseclib/System/SSH/Agent.php index 26414bc9..d74a9da0 100644 --- a/phpseclib/System/SSH/Agent.php +++ b/phpseclib/System/SSH/Agent.php @@ -116,7 +116,7 @@ class Agent * @throws BadConfigurationException if SSH_AUTH_SOCK cannot be found * @throws RuntimeException on connection errors */ - public function __construct($address = null) + public function __construct(?string $address = null) { if (!$address) { switch (true) {