From f5fa920e945f62fcc98c731496a5625bc66ee859 Mon Sep 17 00:00:00 2001 From: einardivision Date: Thu, 6 Feb 2025 10:30:51 +0000 Subject: [PATCH] feature: add support for PHP 8.4, Implicitly marking parameter as nullable is deprecated SnmpClient gives deprication warning when using walk method. --- src/FreeDSx/Snmp/SnmpClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FreeDSx/Snmp/SnmpClient.php b/src/FreeDSx/Snmp/SnmpClient.php index 289bddd..e4a9f34 100644 --- a/src/FreeDSx/Snmp/SnmpClient.php +++ b/src/FreeDSx/Snmp/SnmpClient.php @@ -251,8 +251,8 @@ public function sendInform( * @return SnmpWalk */ public function walk( - string $startAt = null, - string $endAt = null + ?string $startAt = null, + ?string $endAt = null ): SnmpWalk { return new SnmpWalk( $this,