Fix on php 7.4

This commit is contained in:
Ludovic CANDELLIER
2021-11-24 15:53:17 +01:00
parent 6dce60d227
commit 5f7e90d22d
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
use Spatie\Translatable\HasTranslations;
// use Spatie\Translatable\HasTranslations;
use Rinvex\Tags\Models\Tag as parentTag;
use App\Models\Botanic\Specie;
@@ -12,7 +12,7 @@ use App\Models\Botanic\Variety;
class Tag extends parentTag
{
use HasTranslations;
// use HasTranslations;
protected $guarded = ['id'];
public $translatable = ['name'];