Completed
Pull Request — dev (#330)
by Josh
06:54
created

VeteranStatus   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A job_applications() 0 2 1
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace App\Models\Lookup;
4
5
use App\Models\BaseModel;
6
7
/**
8
 * Class VeteranStatus
9
 *
10
 * @property int $id
11
 * @property string $name
12
 * @property \Jenssegers\Date\Date $created_at
13
 * @property \Jenssegers\Date\Date $updated_at
14
 *
15
 * @property \Illuminate\Database\Eloquent\Collection $job_applications
16
 *
17
 */
0 ignored issues
show
Coding Style introduced by
Additional blank lines found at end of doc comment
Loading history...
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
18
class VeteranStatus extends BaseModel {
0 ignored issues
show
Coding Style introduced by
Opening brace of a class must be on the line after the definition
Loading history...
19
20
    protected $fillable = [];
21
22
    public function job_applications() {
0 ignored issues
show
Coding Style introduced by
Missing doc comment for function job_applications()
Loading history...
Coding Style introduced by
Public method name "VeteranStatus::job_applications" is not in camel caps format
Loading history...
23
        return $this->hasMany(\App\Models\JobApplication::class);
24
    }
25
26
}
27