@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Translatable; |
4 | 4 | |
5 | -use Illuminate\Support\Facades\Config; |
|
6 | 5 | use Illuminate\Support\Str; |
7 | 6 | use Spatie\Translatable\Events\TranslationHasBeenSet; |
8 | 7 | use Spatie\Translatable\Exceptions\AttributeIsNotTranslatable; |
@@ -9,6 +9,9 @@ |
||
9 | 9 | |
10 | 10 | trait HasTranslations |
11 | 11 | { |
12 | + /** |
|
13 | + * @param string $key |
|
14 | + */ |
|
12 | 15 | public function getAttributeValue($key) |
13 | 16 | { |
14 | 17 | if (! $this->isTranslatableAttribute($key)) { |