Completed
Push — master ( 64aeb7...576a4c )
by Dennis
01:45
created

SubGroup   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 4

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 1
cbo 4
dl 0
loc 16
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 8 1
1
<?php
2
namespace Dennis\Seeder\Tests\Functional\Seeder;
3
4
use Dennis\Seeder;
5
6
/**
7
 * Class User
8
 * @package Dennis\Seeder\Seeder
9
 *
10
 * @example
11
 */
12
class SubGroup extends Seeder\Seeder\DatabaseSeeder
13
{
14
    /**
15
     * Run the database seeds.
16
     *
17
     * @return void
18
     */
19
    public function run()
20
    {
21
        $this->factory->create('fe_groups', 1)->each(function (Seeder\Seed $seed, Seeder\Faker $faker) {
0 ignored issues
show
Unused Code introduced by
The parameter $faker is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
22
            $seed->set([
23
                'title' => 'SubGroup',
24
            ]);
25
        });
26
    }
27
}
28