Skip to content

Commit 187b4d6

Browse files
committed
v2.0.1
1 parent 11d638a commit 187b4d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Cuttly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(Container $app)
2020
throw MissingApiKey::create();
2121
}
2222

23-
$baseURL = $app['config']->get('cuttly.api_key');
23+
$baseURL = $app['config']->get('cuttly.base_uri');
2424

2525
if (empty($baseURL) || ! isset($baseURL)) {
2626
throw new InvalidArgumentException('Invalid Cuttly API base URL.');

src/HttpResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ public function __construct($response)
1313
$this->response = $response;
1414
}
1515

16-
public function getBody(): string
16+
public function getBody()
1717
{
1818
return (string) $this->response->getBody();
1919
}
2020

21-
public function toObject(): object
21+
public function toObject()
2222
{
2323
$body = (string) $this->response->getBody();
2424

0 commit comments

Comments
 (0)