Skip to content

Commit

Permalink
remove argument from token generation
Browse files Browse the repository at this point in the history
Token method doesn't require an argument
  • Loading branch information
zgabievi authored Jul 30, 2021
1 parent 92d60ec commit 24e67f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/IPay.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,10 @@ public function checkout(string $intent = null, $shop_order_id = null, array $pu
}

/**
* @param IPayContract $ipay
* @return \stdClass|void
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function token(IPayContract $ipay): ?\stdClass
public function token(): ?\stdClass
{
return $this->ipay->token();
}
Expand Down

0 comments on commit 24e67f2

Please sign in to comment.