Issues (12)

src/Models/Testimonial.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace DavideCasiraghi\LaravelTestimonials\Models;
4
5
use Astrotomic\Translatable\Translatable;
6
use Illuminate\Database\Eloquent\Model;
7
8
class Testimonial extends Model
9
{
10
    protected $table = 'testimonials';
11
12
    use Translatable;
0 ignored issues
show
The trait Astrotomic\Translatable\Translatable requires the property $each which is not provided by DavideCasiraghi\LaravelT...ials\Models\Testimonial.
Loading history...
13
14
    public $translatedAttributes = ['name', 'body', 'profession'];
15
    protected $fillable = [
16
        'testimonials_group',
17
        'gender',
18
        'image_file_name',
19
    ];
20
}
21