I dun goofed

This commit is contained in:
Toby Zerner 2015-02-25 15:44:09 +10:30
parent 6a0cbbbe70
commit a079535883

View File

@ -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();