Skip to content

Commit 6a9a9b8

Browse files
committed
Apply Pint style fixes
1 parent 8dbd725 commit 6a9a9b8

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

src/Bexio/AbstractClient.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ abstract class AbstractClient
2929
public function __construct(
3030
public string $clientId,
3131
public string $clientSecret
32-
) {
33-
}
32+
) {}
3433

3534
public function setAccessToken(string $accessToken): self
3635
{

src/Bexio/Bexio.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ class Bexio
66
{
77
public function __construct(
88
protected AbstractClient $client
9-
) {
10-
}
9+
) {}
1110
}

src/Bexio/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function request(
5656
}
5757

5858
try {
59-
$response = (new GuzzleClient())->request($method, $this->getFullApiUrl($path), $options);
59+
$response = (new GuzzleClient)->request($method, $this->getFullApiUrl($path), $options);
6060
} catch (ClientException $e) {
6161
// transform Guzzle ClientException into some more readable form, so that body content does not get truncated
6262
$body = json_decode($e->getResponse()->getBody()->getContents());

src/Bexio/Exception/BexioClientException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
use Exception;
66

7-
class BexioClientException extends Exception
8-
{
9-
}
7+
class BexioClientException extends Exception {}

0 commit comments

Comments
 (0)