EscolaLMS/Tags

View on GitHub
database/seeders/TagsSeeder.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function run()
    {
        if (class_exists('EscolaLms\Courses\Models\Course')) {
            $course = call_user_func(['EscolaLms\Courses\Models\Course', 'factory'])->create();
            config(['tag_model_map.test' => 'EscolaLms\Courses\Models\Course']);
Severity: Minor
Found in database/seeders/TagsSeeder.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status