src/Http/Controllers/RegisterApiController.php
Method register
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function register(RegisterRequest $request): JsonResponse
{
$mustBeEnabledByAdmin = Config::get(
EscolaLmsAuthServiceProvider::CONFIG_KEY . '.account_must_be_enabled_by_admin', SettingStatusEnum::DISABLED
);