src/Drivers/Magfa.php
Method getErrors
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getErrors(): array
{
$errors = [];
$errors[1]['title'] = 'INVALID_RECIPIENT_NUMBER';
$errors[1]['desc'] = 'the string you presented as recipient numbers are not valid phone numbers, please check them again';