diff --git a/src/Core/Repositories/EloquentPostRepository.php b/src/Core/Repositories/EloquentPostRepository.php index db03d0a69..5366e2d3a 100644 --- a/src/Core/Repositories/EloquentPostRepository.php +++ b/src/Core/Repositories/EloquentPostRepository.php @@ -100,7 +100,7 @@ class EloquentPostRepository implements PostRepositoryInterface // We don't add $number as a binding because for some // reason doing so makes the bindings go out of order. - ->orderByRaw('ABS(CAST(number AS SIGNED) - '.(int) $number.')') + ->orderByRaw('ABS(CAST(number AS SIGNED) - '.(int) $number.')'); }); return $this->scopeVisibleForUser($query, $user)->count();