Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix page number handling #18

Merged
merged 1 commit into from
Jul 2, 2017
Merged

Fix page number handling #18

merged 1 commit into from
Jul 2, 2017

Conversation

fabschurt
Copy link
Contributor

The fact that the concerned methods return a float messes up the behavior of Porpaginas\Pager::isCurrent(), as its $page argument is expected to be an integer (and the comparison thus fails while it's not expected to).

@beberlei beberlei merged commit 650c784 into beberlei:master Jul 2, 2017
@fabschurt fabschurt deleted the fix/page-number-type branch July 2, 2017 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants