Test Setup Failed
Pull Request — master (#338)
by Adrien
65:44
created
tests/TestsBase.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param $query
36
+     * @param string $query
37 37
      * return void
38 38
      */
39 39
     private function runQuery($query)
@@ -93,6 +93,9 @@  discard block
 block discarded – undo
93 93
         });
94 94
     }
95 95
 
96
+    /**
97
+     * @param string $query
98
+     */
96 99
     private function beautifyQuery($query)
97 100
     {
98 101
         $capitalizeWords = ['select ', ' from ', ' where ', ' on ', ' join '];
Please login to merge, or discard this patch.
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
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Dimsav\Translatable;
4 4
 
5
-use App;
6 5
 use Illuminate\Database\Eloquent\Model;
7 6
 use Illuminate\Database\Eloquent\Builder;
8 7
 use Illuminate\Database\Eloquent\Relations\Relation;
Please login to merge, or discard this patch.