EscolaLMS/API

View on GitHub
database/seeds/UserTableSeeder.php

Summary

Maintainability
A
1 hr
Test Coverage

Method run has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function run()
    {
        $admin = Role::findOrCreate('admin', 'api');
        $tutor = Role::findOrCreate('tutor', 'api');
        $student = Role::findOrCreate('student', 'api');
Severity: Minor
Found in database/seeds/UserTableSeeder.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status