Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #12 from benbor/fix-compatible-upload
Browse files Browse the repository at this point in the history
Fix incompatible upload saver
  • Loading branch information
markstory authored Jul 25, 2018
2 parents efbc19d + 5785c9c commit c821b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xhgui/Saver/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function __construct($uri, $timeout)
$this->timeout = $timeout;
}

public function save($data)
public function save(array $data)
{
$json = json_encode($data);

Expand Down

0 comments on commit c821b58

Please sign in to comment.