| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class Comment extends Model |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * The attributes that are mass assignable. |
||
| 28 | * |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | protected $fillable = ['comment', 'location', 'type_id']; |
||
| 32 | |||
| 33 | public function job_poster() // phpcs:ignore |
||
| 34 | { |
||
| 35 | return $this->belongsTo(\App\Models\JobPoster::class); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function user() // phpcs:ignore |
||
| 41 | } |
||
| 42 | |||
| 43 | public function comment_type() // phpcs:ignore |
||
| 48 |