Test Setup Failed
Pull Request — master (#300)
by
unknown
18:23
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -176,8 +176,8 @@  discard block
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-     * @param $key
180
-     * @param $value
179
+     * @param string $key
180
+     * @param string $value
181 181
      * @return $this
182 182
      */
183 183
     public function setAttribute($key, $value)
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     }
282 282
 
283 283
     /**
284
-     * @param $key
284
+     * @param string $key
285 285
      * @return null
286 286
      */
287 287
     private function getTranslationByLocaleKey($key)
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     }
297 297
 
298 298
     /**
299
-     * @param null $locale
299
+     * @param string $locale
300 300
      *
301 301
      * @return string
302 302
      */
Please login to merge, or discard this patch.