Skip to content

Commit

Permalink
remove nullable username from get info param as it is always required
Browse files Browse the repository at this point in the history
  • Loading branch information
Roussetos Karafyllakis committed Jan 6, 2025
1 parent 7770d04 commit 354b3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SPanel/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 354b3d3

Please sign in to comment.