@@ -33,7 +33,7 @@ discard block |
||
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 |
||
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 ']; |
@@ -2,7 +2,6 @@ |
||
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; |
@@ -181,7 +181,7 @@ discard block |
||
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 |
||
285 | 285 | } |
286 | 286 | |
287 | 287 | /** |
288 | - * @param null $locale |
|
288 | + * @param string $locale |
|
289 | 289 | * |
290 | 290 | * @return string |
291 | 291 | */ |