Skip to content

Commit 8907742

Browse files
alexbarnsleygithub-actions[bot]
authored andcommitted
style: resolve style guide violations
1 parent 6f6f31a commit 8907742

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎src/API/Wallets.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function tokensFor(string $id, array $query = []): ?array
119119
public function tokens(array $query = []): ?array
120120
{
121121
if (isset($query['whitelist'])) {
122-
return $this->requestPost("wallets/tokens", $query);
122+
return $this->requestPost('wallets/tokens', $query);
123123
}
124124

125125
return $this->requestGet('wallets/tokens', $query);

‎tests/API/TokensTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function (ArkClient $client) {
5151
it('calls correct url for whitelist with query', function () {
5252
$this->assertResponse('GET', 'tokens/whitelist?page=2&limit=10', function (ArkClient $client) {
5353
return $client->tokens()->whitelist([
54-
'page' => 2,
54+
'page' => 2,
5555
'limit' => 10,
5656
]);
5757
});

‎tests/TestCase.php‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ protected function assertResponse(
3636
string $expectedApi = 'api',
3737
array $response = [],
3838
?array $expectedRequestBody = null
39-
): void
40-
{
39+
): void {
4140
$hosts = [
4241
'api' => 'https://dwallets-evm.mainsailhq.com/api',
4342
'transactions' => 'https://dwallets-evm.mainsailhq.com/tx/api',

0 commit comments

Comments
 (0)