forked from apoloz/alfa-bank-sdk
fix(formating)
This commit is contained in:
@@ -27,15 +27,15 @@ class SignRegisterRequest extends Request implements HasBody
|
||||
return '/api/aff/jp/v1/registers/sign';
|
||||
}
|
||||
|
||||
protected function defaultBody(): array
|
||||
{
|
||||
return $this->data->toArray();
|
||||
}
|
||||
|
||||
public function createDtoFromResponse(Response $response): GeneralStatusData
|
||||
{
|
||||
return GeneralStatusData::from([
|
||||
'success' => $response->successful(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function defaultBody(): array
|
||||
{
|
||||
return $this->data->toArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user