Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstauffer committed Sep 11, 2021
1 parent be86bfb commit 7d8be0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Solana.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function getAccountInfo(string $pubKey): array
return $this->client->call('getAccountInfo', [$pubKey])->json()['result']['value'];
}

public function getBalance(string $pubKey): Float
public function getBalance(string $pubKey): float
{
return $this->client->call('getBalance', [$pubKey])['result']['value'];
}
Expand Down
6 changes: 3 additions & 3 deletions src/SolanaRpcClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
*/
class SolanaRpcClient
{
public const DEVNET_ENDPOINT = "https://api.devnet.solana.com";
public const TESTNET_ENDPOINT = "https://api.testnet.solana.com";
public const MAINNET_ENDPOINT = "https://api.mainnet-beta.solana.com";
public const DEVNET_ENDPOINT = 'https://api.devnet.solana.com';
public const TESTNET_ENDPOINT = 'https://api.testnet.solana.com';
public const MAINNET_ENDPOINT = 'https://api.mainnet-beta.solana.com';

protected $endpoint;
protected $randomKey;
Expand Down

0 comments on commit 7d8be0e

Please sign in to comment.