Issues (404)

Branch: dev

database/seeds/JobPosterSeeder.php (1 issue)

Labels
Severity
1
<?php
2
3
use Illuminate\Database\Seeder;
4
use App\Models\JobPoster;
5
6
class JobPosterSeeder extends Seeder //phpcs:ignore
7
{
8
    /**
9
     * Run the Job Poster table seeds.
10
     *
11
     * @return void
12
     */
13
    public function run()
14
    {
15
        factory(JobPoster::class, 5)->create();
0 ignored issues
show
The function factory was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

15
        /** @scrutinizer ignore-call */ 
16
        factory(JobPoster::class, 5)->create();
Loading history...
16
    }
17
}
18