hooman-mirghasemi/Laravel-iran-sms

View on GitHub
src/Drivers/Magfa.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method getErrors has 68 lines of code (exceeds 25 allowed). Consider refactoring.
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';
Severity: Major
Found in src/Drivers/Magfa.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status