EscolaLMS/Auth

View on GitHub
src/Http/Controllers/RegisterApiController.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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

    public function register(RegisterRequest $request): JsonResponse
    {
        $mustBeEnabledByAdmin = Config::get(
            EscolaLmsAuthServiceProvider::CONFIG_KEY . '.account_must_be_enabled_by_admin', SettingStatusEnum::DISABLED
        );
Severity: Minor
Found in src/Http/Controllers/RegisterApiController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status