Test Setup Failed
Pull Request — master (#559)
by
unknown
02:14
created
src/Translatable/Translatable.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,6 +154,7 @@  discard block
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
+     * @param string $locale
157 158
      * @return HasOne
158 159
      */
159 160
     public function translation($locale = null)
@@ -242,7 +243,7 @@  discard block
 block discarded – undo
242 243
 
243 244
     /**
244 245
      * @param string $key
245
-     * @param mixed  $value
246
+     * @param string  $value
246 247
      *
247 248
      * @return $this
248 249
      */
@@ -344,7 +345,7 @@  discard block
 block discarded – undo
344 345
     }
345 346
 
346 347
     /**
347
-     * @param null $locale
348
+     * @param string $locale
348 349
      *
349 350
      * @return string
350 351
      */
@@ -811,7 +812,7 @@  discard block
 block discarded – undo
811 812
     /**
812 813
      * Set the default locale on the model.
813 814
      *
814
-     * @param $locale
815
+     * @param string|null $locale
815 816
      *
816 817
      * @return $this
817 818
      */
Please login to merge, or discard this patch.