AlexanderBuzz / xrpl-php

A PHP library to interact with the XRP Ledger (XRPL) blockchain
ISC License
5 stars 3 forks source link

incorrect BaseResponse::getStatus() return type definition #27

Open wild-man opened 1 week ago

wild-man commented 1 week ago

Hardcastle\XRPL_PHP\Models\BaseResponse public function getStatus(): array { return $this->result['status']; } $this->result['status'] is string in ripple node answer Error: Hardcastle\XRPL_PHP\Models\BaseResponse::getStatus(): Return value must be of type array, string returned on valid results

AlexanderBuzz commented 1 week ago

Ok, looking into it...