The expression return parent::getRequest() could return the type WBW\Library\SmsMode\Request\AbstractRequest which includes types incompatible with the type-hinted return WBW\Library\SmsMode\Requ...ountBalanceRequest|null. Consider adding an additional type-check to rule them out.
Loading history...
46
}
47
48
/**
49
* Get the account balance response.
50
*
51
* @return AccountBalanceResponse|null Returns the account balance response.
52
*/
53
public function getResponse(): ?AccountBalanceResponse {
The expression return parent::getResponse() could return the type WBW\Library\SmsMode\Response\AbstractResponse which includes types incompatible with the type-hinted return WBW\Library\SmsMode\Resp...untBalanceResponse|null. Consider adding an additional type-check to rule them out.