Refactor SocialClient to update parameter names for clarity by changing 'uuid' to 'signature_uuid' in SETTINGS_DELETE_SIGNATURE and SETTINGS_GET_SIGNATURE methods

https://github.com/nosial/Socialbox-PHP/issues/53
This commit is contained in:
netkas 2025-03-12 17:48:24 -04:00
parent 20df727b83
commit 919f75b8ee
Signed by: netkas
GPG key ID: 4D8629441B76E4CC

View file

@ -1030,7 +1030,7 @@
{ {
return $this->sendRequest( return $this->sendRequest(
new RpcRequest(StandardMethods::SETTINGS_DELETE_SIGNATURE, parameters: [ new RpcRequest(StandardMethods::SETTINGS_DELETE_SIGNATURE, parameters: [
'uuid' => $uuid 'signature_uuid' => $uuid
]) ])
)->getResponse()->getResult(); )->getResponse()->getResult();
} }
@ -1081,7 +1081,7 @@
{ {
return new Signature($this->sendRequest( return new Signature($this->sendRequest(
new RpcRequest(StandardMethods::SETTINGS_GET_SIGNATURE, parameters: [ new RpcRequest(StandardMethods::SETTINGS_GET_SIGNATURE, parameters: [
'uuid' => $uuid 'signature_uuid' => $uuid
]) ])
)->getResponse()->getResult()); )->getResponse()->getResult());
} }