anonymous()
last analyzed

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
eloc 4
nc 1
nop 1
1
<?php
2
use Faker\Generator as Faker;
3
4
$factory->define(agoalofalife\postman\Models\EmailUser::class, function (Faker $faker) {
0 ignored issues
show
Unused Code introduced by
The parameter $faker is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

4
$factory->define(agoalofalife\postman\Models\EmailUser::class, function (/** @scrutinizer ignore-unused */ Faker $faker) {

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

Loading history...
5
    return [
6
        'email_id' => factory(agoalofalife\postman\Models\Email::class)->create()->id,
7
        'user_id' => factory(agoalofalife\postman\Models\User::class)->create()->id,
8
    ];
9
});
10