Skip to content

Commit

Permalink
fix old php
Browse files Browse the repository at this point in the history
  • Loading branch information
bessudnov committed Jul 31, 2020
1 parent 626b178 commit a30336a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function nextPage(HasPagesInterface $collection): HasPagesInterface
$nextPageLink = $collection->getNextPageLink();
if (is_null($nextPageLink)) {
throw new AmoCRMApiPageNotAvailableException(
"No next page available",
"No next page available"
);
}

Expand All @@ -51,7 +51,7 @@ public function prevPage(HasPagesInterface $collection): HasPagesInterface
$prevPageLink = $collection->getPrevPageLink();
if (is_null($prevPageLink)) {
throw new AmoCRMApiPageNotAvailableException(
"No prev page available",
"No prev page available"
);
}

Expand Down

0 comments on commit a30336a

Please sign in to comment.