database/seeders/AuthPermissionSeeder.php
Method run
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run()
{
$admin = Role::findOrCreate(UserRole::ADMIN, 'api');
$tutor = Role::findOrCreate(UserRole::TUTOR, 'api');
$student = Role::findOrCreate(UserRole::STUDENT, 'api');