Fix on php 7.4
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user