Completed
Pull Request — master (#171)
by
unknown
08:40 queued 07:31
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 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Translatable;
4 4
 
5
-use Illuminate\Support\Str;
6 5
 use Illuminate\Support\Facades\Config;
6
+use Illuminate\Support\Str;
7 7
 use Spatie\Translatable\Events\TranslationHasBeenSet;
8 8
 use Spatie\Translatable\Exceptions\AttributeIsNotTranslatable;
9 9
 
Please login to merge, or discard this patch.