shetabit/multipay

View on GitHub
src/Drivers/Digipay/Digipay.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method purchase has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function purchase(): string
    {
        $phone = $this->invoice->getDetail('phone')
            ?? $this->invoice->getDetail('cellphone')
            ?? $this->invoice->getDetail('mobile');
Severity: Minor
Found in src/Drivers/Digipay/Digipay.php - About 1 hr to fix

    Method oauth has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function oauth()
        {
            $response = $this
                ->client
                ->request(
    Severity: Minor
    Found in src/Drivers/Digipay/Digipay.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status