Skip to content

Commit

Permalink
Metadata: fix for PHP5
Browse files Browse the repository at this point in the history
  • Loading branch information
qencode-dev committed Jan 14, 2021
1 parent 8035050 commit 2ed5b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PHP library for interacting with the Qencode API.
```json
{
"require": {
"qencode/api-client": "1.07.*"
"qencode/api-client": "1.08.*"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/QencodeApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function createTask() {
/**
* @param string
*/
public function getMetadata(string $url)
public function getMetadata($url)
{
$response = $this->post('create_task', array('token' => $this->access_token));
$metadata = new Metadata($this, $response['task_token']);
Expand Down

0 comments on commit 2ed5b7e

Please sign in to comment.