| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | class Reference extends BaseModel |
||
| 29 | { |
||
| 30 | |||
| 31 | protected $casts = [ |
||
|
1 ignored issue
–
show
|
|||
| 32 | 'name' => 'string', |
||
| 33 | 'email' => 'string', |
||
| 34 | 'description' => 'string', |
||
| 35 | 'relationship_id' => 'int', |
||
| 36 | ]; |
||
| 37 | protected $fillable = [ |
||
|
1 ignored issue
–
show
|
|||
| 38 | 'name', |
||
| 39 | 'email', |
||
| 40 | 'relationship_id', |
||
| 41 | 'description' |
||
| 42 | ]; |
||
| 43 | |||
| 44 | public function relationship() |
||
|
2 ignored issues
–
show
|
|||
| 45 | { |
||
| 46 | return $this->belongsTo(\App\Models\Lookup\Relationship::class); |
||
| 47 | } |
||
| 48 | |||
| 49 | public function referenceable() |
||
|
2 ignored issues
–
show
|
|||
| 50 | { |
||
| 51 | return $this->morphTo(); |
||
| 52 | } |
||
| 53 | |||
| 54 | public function projects() |
||
| 57 | } |
||
| 58 | |||
| 59 | public function skill_declarations() |
||
| 64 |