src/Service/UserService.php
public function getInfo(string $username): ?User
    {
        $response =  $this->client->unsignedCall('user.getInfo', [
            'user' => $username,
        ]);

        if (!isset($response['user'])) {
            return null;
        }

        return User::fromApi($response['user']);
    }
public function getInfo(string $username): ?User
    {
        $response =  $this->client->unsignedCall('user.getInfo', [
            'user' => $username,
        ]);

        if (!isset($response['user'])) {
            return null;
        }

        return User::fromApi($response['user']);
    }
{@inheritdoc}