Completed
Push — added-tests ( 1b1c76 )
by Dimitrios
04:08
created
src/Translatable/Translatable.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 
174 174
     /**
175 175
      * @param string $key
176
-     * @param mixed  $value
176
+     * @param string  $value
177 177
      */
178 178
     public function setAttribute($key, $value)
179 179
     {
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
     }
283 283
 
284 284
     /**
285
-     * @param null $locale
285
+     * @param string|null $locale
286 286
      *
287 287
      * @return string
288 288
      */
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 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.
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.