Please sign in to comment.
Fix PropelModelPager::getLastPage() return type.
Turns out that PHP's `ceil()` converts a float to an integer but still returns... a float. The patch forces the return type of `getLastPage()` by casting to integer after calling `ceil()`. Closes #316.
- Loading branch information...
Showing with 9 additions and 1 deletion.