Test Failed
Push — feature/job-builder/update-job... ( 68ba7e...7a08dc )
by Xander
23:02 queued 10:32
created

Classification   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 8
ccs 0
cts 2
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A skills() 0 3 1
1
<?php
2
3
namespace App\Models;
4
5
/**
6
 * Class UserRole
7
 *
8
 * @property int $id
9
 * @property string $key
10
 * @property \Jenssegers\Date\Date $created_at
11
 * @property \Jenssegers\Date\Date $updated_at
12
 *
13
 * @property \Illuminate\Database\Eloquent\Collection $skills
14
 */
15
class Classification extends BaseModel
16
{
17
18
    protected $fillable = [];
1 ignored issue
show
introduced by
Property \App\Models\Classification::$fillable does not have @var annotation.
Loading history...
Coding Style Documentation introduced by
Missing member variable doc comment
Loading history...
19
20
    public function skills()
1 ignored issue
show
introduced by
Method \App\Models\Classification::skills() does not have return type hint nor @return annotation for its return value.
Loading history...
Coding Style Documentation introduced by
Missing doc comment for function skills()
Loading history...
21
    {
22
        return $this->belongsToMany(\App\Models\Skill::class)->withTimestamps();
23
    }
24
}
25