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

SubGroup::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 8
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
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