src/Drivers/Digipay/Digipay.php
Method purchase
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function purchase(): string
{
$phone = $this->invoice->getDetail('phone')
?? $this->invoice->getDetail('cellphone')
?? $this->invoice->getDetail('mobile');
Method oauth
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function oauth()
{
$response = $this
->client
->request(