Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit a0382f2

Browse files
luisdalmolinStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 37c8486 commit a0382f2

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

src/Bee.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function __construct(GuzzleClient $httpClient)
3838
public function setApiToken($apiToken)
3939
{
4040
$this->apiToken = $apiToken;
41+
4142
return $this;
4243
}
4344

@@ -55,7 +56,7 @@ public function html(array $json)
5556
'headers' => $this->formatHeaders([
5657
'Content-Type' => 'application/json',
5758
]),
58-
'json' => $json
59+
'json' => $json,
5960
]
6061
);
6162

src/BeeAuth.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function __construct(GuzzleClient $httpClient)
4040
public function setClientId($clientId)
4141
{
4242
$this->clientId = $clientId;
43+
4344
return $this;
4445
}
4546

@@ -51,6 +52,7 @@ public function setClientId($clientId)
5152
public function setClientSecret($clientSecret)
5253
{
5354
$this->clientSecret = $clientSecret;
55+
5456
return $this;
5557
}
5658

@@ -66,7 +68,7 @@ public function generateToken()
6668
'grant_type' => 'password',
6769
'client_id' => $this->clientId,
6870
'client_secret' => $this->clientSecret,
69-
]
71+
],
7072
]);
7173

7274
return new AuthorizationToken(json_decode($response->getBody()->getContents(), true));

tests/BeeAuthTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testGenerateToken()
2929
'userName' => 'Tn3KV7JYavWn',
3030
'as:region' => 'eu-west-1',
3131
'.issued' => 'Sat, 17 Aug 2019 00:08:50 GMT',
32-
'.expires' => 'Sat, 17 Aug 2019 00:13:50 GMT'
32+
'.expires' => 'Sat, 17 Aug 2019 00:13:50 GMT',
3333
];
3434

3535
$mock = new MockHandler([new Response(200, [], json_encode($response))]);

tests/BeeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testPdf()
4040
'filename' => 'file.pdf',
4141
'page_size' => 'full',
4242
'page_orientation' => 'portrait',
43-
'content_type' => 'application/pdf'
43+
'content_type' => 'application/pdf',
4444
];
4545

4646
$mock = new MockHandler([new Response(200, [], json_encode($response))]);

0 commit comments

Comments
 (0)