Test Setup Failed
Push — ft-locales-helper ( 6f0fc5...b1a615 )
by Tom
63:37
created
src/Translatable/Translatable.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 
180 180
     /**
181 181
      * @param string $key
182
-     * @param mixed  $value
182
+     * @param string  $value
183 183
      *
184 184
      * @return $this
185 185
      */
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     }
284 284
 
285 285
     /**
286
-     * @param null $locale
286
+     * @param string $locale
287 287
      *
288 288
      * @return string
289 289
      */
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
633 633
     /**
634 634
      * Set the default locale on the model.
635 635
      *
636
-     * @param $locale
636
+     * @param string|null $locale
637 637
      *
638 638
      * @return $this
639 639
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Database\Query\JoinClause;
8 8
 use Illuminate\Database\Eloquent\Relations\Relation;
9 9
 use Illuminate\Database\Query\Builder as QueryBuilder;
10
-use Dimsav\Translatable\Exception\LocalesNotDefinedException;
11 10
 
12 11
 trait Translatable
13 12
 {
Please login to merge, or discard this patch.