Skip to content

Commit

Permalink
🐛 fix static function
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdhika31 committed Nov 27, 2020
1 parent bfdcbb0 commit dff9e75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Balance.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function validateFormat(string $format = null): bool
*
* @return mixed
*/
public function getBalance(string $format = 'json')
public static function getBalance(string $format = 'json')
{
$data = [];
$data['key'] = iPaymu::getApiKey();
Expand Down
2 changes: 1 addition & 1 deletion src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static function validateFormat(string $format = null): bool
*
* @return mixed
*/
public function getById(string $idTrx, string $format = 'json')
public static function getById(string $idTrx, string $format = 'json')
{
$data = [];
$data['key'] = iPaymu::getApiKey();
Expand Down

0 comments on commit dff9e75

Please sign in to comment.