diff --git a/src/MPesa.php b/src/MPesa.php index 4af53af..a99a5dc 100644 --- a/src/MPesa.php +++ b/src/MPesa.php @@ -2,8 +2,6 @@ namespace Codeonweekends\MPesa; -use phpDocumentor\Reflection\Types\Self_; - class MPesa { /** @@ -97,7 +95,7 @@ public function c2b ($thirdPartyReference = '', $amount = 10, $customerMSISDN = * @return mixed * @throws \Exception */ - public function transactionReverse ($amount = 10, $serviceProviderCode = '', $transactionID = '', $securityCredential = '', $initiatorIdentifier = '') + public function transactionReversal ($amount = 10, $serviceProviderCode = '', $transactionID = '', $securityCredential = '', $initiatorIdentifier = '') { $context = $this->apiContext; $context->setPort(self::TRANSACTION_REVERSAL_PORT);