diff --git a/src/Socialbox/Objects/RpcError.php b/src/Socialbox/Objects/RpcError.php index 99694d4..9b6453f 100644 --- a/src/Socialbox/Objects/RpcError.php +++ b/src/Socialbox/Objects/RpcError.php @@ -16,7 +16,7 @@ class RpcError implements SerializableInterface * * @param string $id The ID of the RPC request * @param StandardError $code The error code - * @param string $error The error message + * @param string|null $error The error message */ public function __construct(string $id, StandardError $code, ?string $error) {