Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | class Department extends BaseModel |
||
32 | { |
||
33 | use CrudTrait; |
||
|
|||
34 | use HasTranslations; |
||
35 | |||
36 | /** |
||
37 | * @var $translatable string[] |
||
38 | * */ |
||
39 | public $translatable = [ |
||
40 | 'name', |
||
41 | 'impact', |
||
42 | ]; |
||
43 | |||
44 | protected $fillable = [ |
||
1 ignored issue
–
show
|
|||
45 | 'name', |
||
46 | 'impact', |
||
47 | ]; |
||
48 | |||
49 | public function managers() // phpcs:ignore |
||
50 | { |
||
51 | return $this->hasMany(\App\Models\Manager::class); |
||
52 | } |
||
53 | |||
54 | public function department_translations() // phpcs:ignore |
||
57 | } |
||
58 | |||
59 | public function job_posters() // phpcs:ignore |
||
62 | } |
||
63 | } |
||
64 |