Completed
Push — master ( 0d0aa4...39da2d )
by Freek
01:48 queued 41s
created
src/HasTranslations.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
         return $this->getTranslation($key, $this->getLocale());
18 18
     }
19 19
 
20
+    /**
21
+     * @param string $key
22
+     */
20 23
     public function setAttribute($key, $value)
21 24
     {
22 25
         // Pass arrays and untranslatable attributes to the parent method.
Please login to merge, or discard this patch.
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.