VideoFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 4
dl 0
loc 13
rs 10
c 1
b 1
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A definition() 0 4 1
1
<?php
2
3
namespace BiiiiiigMonster\Hasin\Database\Factories;
4
5
use BiiiiiigMonster\Hasin\Tests\Models\Video;
6
use Illuminate\Database\Eloquent\Factories\Factory;
7
8
class VideoFactory extends Factory
9
{
10
    protected $model = Video::class;
11
12
    /**
13
     * Define the model's default state.
14
     *
15
     * @return array
16
     */
17
    public function definition()
18
    {
19
        return [
20
            'name' => $this->faker->name
21
        ];
22
    }
23
}
24