Email   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 14
c 0
b 0
f 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A emailable() 0 3 1
1
<?php
2
3
namespace CleaniqueCoders\Profile\Models;
4
5
use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid;
6
use Illuminate\Database\Eloquent\Model;
7
8
class Email extends Model
9
{
10
    use InteractsWithUuid;
0 ignored issues
show
Bug introduced by
The trait CleaniqueCoders\Traitify...cerns\InteractsWithUuid requires the property $uuid_column which is not provided by CleaniqueCoders\Profile\Models\Email.
Loading history...
11
12
    protected $guarded = [
13
        'id',
14
    ];
15
16
    /**
17
     * Get all of the owning emailable models.
18
     */
19
    public function emailable()
20
    {
21
        return $this->morphTo();
22
    }
23
}
24