Passed
Push — feature/job-builder/work-env-r... ( 3641b6...4a7aa4 )
by Tristan
22:01 queued 06:05
created

JobPosterSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 3 1
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()
0 ignored issues
show
introduced by
Method \JobPosterSeeder::run() does not have return type hint for its return value but it should be possible to add it based on @return annotation "void".
Loading history...
14
    {
15
        factory(JobPoster::class, 5)->create();
16
    }
17
}
18