From 0efb1ecd84e6a02c2caac38d7216b560854bfaf6 Mon Sep 17 00:00:00 2001 From: alirezax5 Date: Fri, 9 Aug 2024 16:01:58 +0330 Subject: [PATCH] update --- src/Panel/Alireza0.php | 2 +- src/Panel/MHSanaei.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Panel/Alireza0.php b/src/Panel/Alireza0.php index b681b3c..ae0839f 100644 --- a/src/Panel/Alireza0.php +++ b/src/Panel/Alireza0.php @@ -75,7 +75,7 @@ public function addInbound($remark, $port, $protocol, $settings, $streamSettings } - public function editInbound(bool $enable, string $id, string $remark, int $port, string $protocol, $settings, $streamSettings, int $total = 0, int $up = 0, int $down = 0, ?array $sniffing = null, int $expiryTime = 0, string $listen = '') + public function editInbound(bool $enable, string $id, string $remark, int $port, string $protocol, $settings, $streamSettings, int $total = 0, int $up = 0, int $down = 0, $sniffing = null, int $expiryTime = 0, string $listen = '') { $data = [ 'enable' => $enable, diff --git a/src/Panel/MHSanaei.php b/src/Panel/MHSanaei.php index 944a8e4..ce45ddb 100644 --- a/src/Panel/MHSanaei.php +++ b/src/Panel/MHSanaei.php @@ -182,7 +182,7 @@ public function editClientByEmail(string $inboundId, string $clientEmail, bool $ } - public function editInbound(bool $enable, string $id, string $remark, int $port, string $protocol, $settings, $streamSettings, int $total = 0, int $up = 0, int $down = 0, ?array $sniffing = null, int $expiryTime = 0, string $listen = '') + public function editInbound(bool $enable, string $id, string $remark, int $port, string $protocol, $settings, $streamSettings, int $total = 0, int $up = 0, int $down = 0, $sniffing = null, int $expiryTime = 0, string $listen = '') { $data = [ 'enable' => $enable,