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'];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
],
|
||||
"license": "proprietary",
|
||||
"require": {
|
||||
"php": "^7.3|^8.0",
|
||||
"php": "^7.4",
|
||||
"alexisgeneau/mailvalidate": "dev-master",
|
||||
"arcanedev/log-viewer": "^8.1",
|
||||
"arrilot/laravel-widgets": "^3.13",
|
||||
|
||||
Reference in New Issue
Block a user