@@ -450,7 +450,7 @@ |
||
450 | 450 | /** |
451 | 451 | * Prepare count query builder. |
452 | 452 | * |
453 | - * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder |
|
453 | + * @return string |
|
454 | 454 | */ |
455 | 455 | protected function prepareCountQuery() |
456 | 456 | { |
@@ -226,8 +226,7 @@ |
||
226 | 226 | if (!$value || is_array($value)) { |
227 | 227 | if (!is_numeric($value)) { |
228 | 228 | continue; |
229 | - } |
|
230 | - else { |
|
229 | + } else { |
|
231 | 230 | $value = (string) $value; |
232 | 231 | } |
233 | 232 | } |