From 354b3d3649778fad6bfa7680c928a7430305b2ea Mon Sep 17 00:00:00 2001 From: Roussetos Karafyllakis <35-roussks@users.noreply.git.upmind.io> Date: Mon, 6 Jan 2025 23:24:55 +0200 Subject: [PATCH] remove nullable username from get info param as it is always required --- src/SPanel/Provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPanel/Provider.php b/src/SPanel/Provider.php index 0f1efdd..28032d1 100644 --- a/src/SPanel/Provider.php +++ b/src/SPanel/Provider.php @@ -96,7 +96,7 @@ protected function getMaxUsernameLength(): int * @throws \RuntimeException * @throws \Throwable */ - protected function _getInfo(?string $username, string $message): AccountInfo + protected function _getInfo(string $username, string $message): AccountInfo { $info = $this->api()->getAccountData($username);