Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
32 | class Degree extends BaseModel |
||
33 | { |
||
34 | |||
35 | protected $casts = [ |
||
1 ignored issue
–
show
|
|||
36 | 'degree_type_id' => 'int', |
||
37 | 'area_of_study' => 'string', |
||
38 | 'institution' => 'string', |
||
39 | 'thesis' => 'string', |
||
40 | 'start_date' => 'date', |
||
41 | 'end_date' => 'date', |
||
42 | 'blockcert_url' => 'string', |
||
43 | ]; |
||
44 | protected $fillable = [ |
||
1 ignored issue
–
show
|
|||
45 | 'degree_type_id', |
||
46 | 'area_of_study', |
||
47 | 'institution', |
||
48 | 'thesis', |
||
49 | 'start_date', |
||
50 | 'end_date', |
||
51 | 'blockcert_url', |
||
52 | ]; |
||
53 | |||
54 | public function degree_type() |
||
57 | } |
||
58 | |||
59 | public function degreeable() |
||
64 |