Passed
Branch dev5 (d8a4d3)
by Ron
10:02
created

TechTipsSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 11
rs 10
wmc 1
1
<?php
2
3
use Illuminate\Database\Seeder;
4
5
class TechTipsSeeder extends Seeder
6
{
7
    /**
8
     * Run the database seeds.
9
     *
10
     * @return void
11
     */
12
    public function run()
13
    {
14
        //  Create 20 random tech tips
15
        factory(App\TechTips::class, 20)->create();
16
    }
17
}
18