Issues (11)

src/Models/Column.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace DavideCasiraghi\LaravelColumns\Models;
4
5
use Astrotomic\Translatable\Translatable;
6
use Illuminate\Database\Eloquent\Model;
7
8
class Column extends Model
9
{
10
    protected $table = 'columns';
11
12
    use Translatable;
0 ignored issues
show
The trait Astrotomic\Translatable\Translatable requires the property $each which is not provided by DavideCasiraghi\LaravelColumns\Models\Column.
Loading history...
13
14
    public $translatedAttributes = ['title', 'body', 'button_text', 'image_alt'];
15
    protected $fillable = [
16
        'columns_group',
17
        'column_flex',
18
        'separator_color',
19
        'image_file_name',
20
        'fontawesome_icon_class',
21
        'icon_color',
22
        'button_url',
23
    ];
24
}
25