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: 2 additions & 0 deletions Trustly/Data/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ public static function ensureUTF8($str) {
* @param string $name
*
* @param mixed $value
*
* @return void
*/
public function set($name, $value) {
$this->payload[$name] = Trustly_Data::ensureUTF8($value);
Expand Down
4 changes: 2 additions & 2 deletions Trustly/Data/jsonrpcrequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ public function getUUID() {
*
* @param string $method The name of the API method this call is for
*
* @return string $method
* @return void
*/
public function setMethod($method) {
return $this->set('method', $method);
$this->set('method', $method);
}


Expand Down