src/Drivers/Zibal/Zibal.php
Method purchase
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function purchase()
{
$details = $this->invoice->getDetails();
$amount = $this->invoice->getAmount() * ($this->settings->currency == 'T' ? 10 : 1); // convert to rial