The expression return $this returns the type kalanis\RemoteRequest\Protocols\Fsp\Answer\Error which is incompatible with the type-hinted return parent.
Loading history...
35
}
36
37
/**
38
* @throws RequestException
39
* @return RequestException
40
*/
41
3
public function getError(): RequestException
42
{
43
3
$ex = new RequestException($this->errorMessage, $this->errorCode);