From 24e67f296c7de106d1c13e7a6384e482dff155ac Mon Sep 17 00:00:00 2001 From: Zura Gabievi Date: Fri, 30 Jul 2021 10:44:56 +0400 Subject: [PATCH] remove argument from token generation Token method doesn't require an argument --- src/IPay.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/IPay.php b/src/IPay.php index ab20add..78dc6ba 100644 --- a/src/IPay.php +++ b/src/IPay.php @@ -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(); }