Skip to content

Commit

Permalink
Merge pull request #188 from bjdelange/patch-1
Browse files Browse the repository at this point in the history
Fix typos in Exception description text
  • Loading branch information
richsage authored Nov 17, 2016
2 parents 95fd0a5 + 95cde64 commit 6675cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pagerfanta/Pagerfanta.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public function hasPreviousPage()
public function getPreviousPage()
{
if (!$this->hasPreviousPage()) {
throw new LogicException('There is not previous page.');
throw new LogicException('There is no previous page.');
}

return $this->currentPage - 1;
Expand All @@ -449,7 +449,7 @@ public function hasNextPage()
public function getNextPage()
{
if (!$this->hasNextPage()) {
throw new LogicException('There is not next page.');
throw new LogicException('There is no next page.');
}

return $this->currentPage + 1;
Expand Down

0 comments on commit 6675cff

Please sign in to comment.