Skip to content

Conversation

mayoz
Copy link
Contributor

@mayoz mayoz commented Oct 12, 2014

Some docBlocks lines has been improved. Some lines, now more readable.

@taylorotwell now, simplePaginate has been deleted. In my opinion, paginate method use the LengthAwarePaginator class. We will create simplePaginate again for Paginator class. So that, new Laravel version is provided for backward compatibility.

@mayoz mayoz changed the title Fix a few things. [5.0] Fix a few things for Pagination. Oct 12, 2014
@taylorotwell
Copy link
Member

Tests fail.

@mayoz
Copy link
Contributor Author

mayoz commented Oct 13, 2014

Oh, sorry. Now, it's ok.

@GrahamCampbell
Copy link
Member

This 100% needs to be squashed!

@@ -81,6 +80,8 @@ public function nextPageUrl()
{
return $this->url($this->currentPage() + 1);
}

return null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't do this. Just remove the entire return statement, and don't return anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, remove all.

@GrahamCampbell
Copy link
Member

Can you squash to one commit and force push please. 22 commits is way to much of a mess in the commit history.

@GrahamCampbell
Copy link
Member

See #6071.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants