Completed
Pull Request — master (#222)
by
unknown
01:03
created
src/HasTranslations.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.