From a30336adc75ff796431c0ca1ab3d0f49b9f9b58a Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 31 Jul 2020 13:28:20 +0300 Subject: [PATCH] fix old php --- src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php b/src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php index e2022965..62ca7399 100644 --- a/src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php +++ b/src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php @@ -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" ); } @@ -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" ); }