diff --git a/Trustly/Api/api.php b/Trustly/Api/api.php index c9fee7d..d5abcab 100644 --- a/Trustly/Api/api.php +++ b/Trustly/Api/api.php @@ -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 diff --git a/Trustly/Api/signed.php b/Trustly/Api/signed.php index 69d0b5b..6682bb6 100644 --- a/Trustly/Api/signed.php +++ b/Trustly/Api/signed.php @@ -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 diff --git a/Trustly/Data/jsonrpcnotificationrequest.php b/Trustly/Data/jsonrpcnotificationrequest.php index 6be3c5f..b59dc11 100644 --- a/Trustly/Data/jsonrpcnotificationrequest.php +++ b/Trustly/Data/jsonrpcnotificationrequest.php @@ -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(); diff --git a/Trustly/Data/request.php b/Trustly/Data/request.php index 3daaca7..aa6994e 100644 --- a/Trustly/Data/request.php +++ b/Trustly/Data/request.php @@ -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); @@ -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;