Skip to content

Commit

Permalink
Correct args where the name was not specificed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo committed Mar 13, 2024
1 parent 61600e2 commit cd19a9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Trustly/Api/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function verifyTrustlySignedResponse($response) {
* Trustly_Data_JSONRPCNotificationRequest) has been signed with the
* correct key originating from the host
*
* @param Trustly_Data_JSONRPCNotificationRequest incoming notification
* @param Trustly_Data_JSONRPCNotificationRequest $notification incoming notification
*
* @return boolean Indicating if the data was indeed properly signed by the
* API we think we are talking to
Expand Down
2 changes: 1 addition & 1 deletion Trustly/Api/signed.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ public function deposit($notificationurl, $enduserid, $messageid,
* @param float $amount The amount to refund the customer with exactly two
* decimals. Only digits. Use dot (.) as decimal separator.
*
* @param string currency The currency of the amount to refund the
* @param string $currency The currency of the amount to refund the
* customer.
*
* @return Trustly_Data_JSONRPCSignedResponse
Expand Down
2 changes: 1 addition & 1 deletion Trustly/Data/jsonrpcnotificationrequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Trustly_Data_JSONRPCNotificationRequest extends Trustly_Data {
* request seems to be valid but is for a JSON RPC version we do not
* support.
*
* @param string $notification RAW incoming notification body
* @param string $notification_body RAW incoming notification body
*/
public function __construct($notification_body) {
parent::__construct();
Expand Down
4 changes: 2 additions & 2 deletions Trustly/Data/request.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function getUUID() {
/**
* Convenience function for setting the uuid in the call
*
* @param string uuid
* @param string $uuid
*/
public function setUUID($uuid) {
$this->set('uuid', $uuid);
Expand All @@ -95,7 +95,7 @@ public function getMethod() {
/**
* Set the medhod in the call
*
* @param string method name
* @param string $method method name
*/
public function setMethod($method) {
$this->method = $method;
Expand Down

0 comments on commit cd19a9b

Please sign in to comment.