Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
8 changes: 6 additions & 2 deletions Trustly/Data/request.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ public function getUUID() {
/**
* Convenience function for setting the uuid in the call
*
* @param string uuid
* @param string $uuid
*
* @return void
*/
public function setUUID($uuid) {
$this->set('uuid', $uuid);
Expand All @@ -95,7 +97,9 @@ public function getMethod() {
/**
* Set the medhod in the call
*
* @param string method name
* @param string $method method name
*
* @return void
*/
public function setMethod($method) {
$this->method = $method;
Expand Down