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

Commit

Permalink
Merge pull request #18 from srdante/patch-1
Browse files Browse the repository at this point in the history
Fix "Return value of Tighten\SolanaPhpSdk\Program::__call() must be of the type array or null, int returned"
  • Loading branch information
mattstauffer authored Dec 9, 2021
2 parents f6c1f5d + 9d47755 commit b24b6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Program.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function __construct(SolanaRpcClient $client)
$this->client = $client;
}

public function __call($method, $params = []): ?array
public function __call($method, $params = [])
{
return $this->client->call($method, ...$params);
}
Expand Down

0 comments on commit b24b6ff

Please sign in to comment.