database/seeders/WebinarsTermsSeeder.php
Call to method sync
from undeclared class \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open
Open
$webinar->users()->sync($users->pluck('id')->toArray());
- Exclude checks
Call to method limit
from undeclared class \EscolaLms\Core\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
$users = User::limit(10)->get();
- Exclude checks
Call to method sync
from undeclared class \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open
Open
$webinar->trainers()->sync($trainers->pluck('id')->toArray());
- Exclude checks
Class extends undeclared class \Illuminate\Database\Seeder
Open
Open
class WebinarsTermsSeeder extends Seeder
- Exclude checks
Call to method limit
from undeclared class \EscolaLms\Core\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
$trainers = User::limit(5)->get();
- Exclude checks
Call to undeclared function \now()
Open
Open
'active_to' => now(),
- Exclude checks
Static call to undeclared method \EscolaLms\Webinar\Models\Webinar::factory
Open
Open
Webinar::factory(5, [
- Exclude checks
Expected 1 space after USE keyword; found 0 Open
Open
->each(function (Webinar $webinar) use($users, $trainers) {
- Exclude checks