Passed
Push — fill-with-locale ( bd002a...6786d4 )
by Dimitrios
07:12
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
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 Dimsav\Translatable\Exception\LocalesNotDefinedException;
7 6
 use Illuminate\Database\Eloquent\Builder;
8 7
 use Illuminate\Database\Eloquent\MassAssignmentException;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 
182 182
     /**
183 183
      * @param string $key
184
-     * @param mixed  $value
184
+     * @param string  $value
185 185
      */
186 186
     public function setAttribute($key, $value)
187 187
     {
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
     }
286 286
 
287 287
     /**
288
-     * @param null $locale
288
+     * @param string $locale
289 289
      *
290 290
      * @return string
291 291
      */
Please login to merge, or discard this patch.