Skip to content

Commit 2ed5b7e

Browse files
committed
Metadata: fix for PHP5
1 parent 8035050 commit 2ed5b7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PHP library for interacting with the Qencode API.
1313
```json
1414
{
1515
"require": {
16-
"qencode/api-client": "1.07.*"
16+
"qencode/api-client": "1.08.*"
1717
}
1818
}
1919
```

src/QencodeApiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function createTask() {
237237
/**
238238
* @param string
239239
*/
240-
public function getMetadata(string $url)
240+
public function getMetadata($url)
241241
{
242242
$response = $this->post('create_task', array('token' => $this->access_token));
243243
$metadata = new Metadata($this, $response['task_token']);

0 commit comments

Comments
 (0)