database/seeders/TagsSeeder.php
Method run
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
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']);