hooman-mirghasemi/Laravel-iran-sms

View on GitHub
src/Providers/SmsProvider.php

Summary

Maintainability
A
1 hr
Test Coverage

Method register has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function register(): void
    {
        $this->mergeConfigFiles();

        $this->app->register(RouteServiceProvider::class);
Severity: Minor
Found in src/Providers/SmsProvider.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                return new Avanak($config);
    Severity: Major
    Found in src/Providers/SmsProvider.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status