Open
Description
Bug report
Declaration of Backpack\CRUD\app\Models\Traits\SpatieTranslatable\HasTranslations::getLocale() must be compatible with Spatie\Tags\Tag::getLocale(): string
What I did
Install package from spatie/laravel-tags and use custom Tag model, which changes in the core functionality of the spatie package nothing.
What I expected to happen
No conflicts of the resolution between spatie/laravel-tags and backpack version of the HasTranlsation trait
What happened
??
What I've already tried to fix it
add return type ): string
but then there is another issue which is
Declaration of Backpack\CRUD\app\Models\Traits\SpatieTranslatable\HasTranslations::setTranslation(string $key, string $locale, $value): Backpack\CRUD\app\Models\Traits\SpatieTranslatable\HasTranslations must be compatible with Spatie\Tags\Tag::setTranslation(string $key, string $locale, $value): Spatie\Tags\Tag
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version
the output is:
PHP VERSION:
PHP 7.4.3 (cli) (built: Feb 18 2020 17:29:46) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v2.9.2, Copyright (c) 2002-2020, by Derick Rethans
LARAVEL VERSION:
v7.9.2@757b155658ae6da429065ba8f22242fe599824f7
BACKPACK VERSION:
4.0.60@3c6116bce3c90ef9850d3d07de5c7b8f41a7b6cd
Metadata
Metadata
Assignees
Type
Projects
Status
No status