From df9d1b6e6f388fab34d55a4230d122f9c83f9846 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 9 Aug 2022 14:38:03 +0300 Subject: [PATCH] update method docblock --- src/ResourceGroup/Loyalty.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ResourceGroup/Loyalty.php b/src/ResourceGroup/Loyalty.php index 96377c5..5d1c7c3 100644 --- a/src/ResourceGroup/Loyalty.php +++ b/src/ResourceGroup/Loyalty.php @@ -471,15 +471,16 @@ class Loyalty extends AbstractApiResourceGroup * * Example: * ```php + * use RetailCrm\Api\Enum\PaginationLimit; * use RetailCrm\Api\Factory\SimpleClientFactory; * use RetailCrm\Api\Interfaces\ApiExceptionInterface; - * use RetailCrm\Api\Model\Filter\Loyalty\LoyaltyAccountBonusOperationsApiFilterType; - * use RetailCrm\Api\Model\Request\Loyalty\LoyaltyBonusOperationsRequest; + * use RetailCrm\Api\Model\Filter\Loyalty\LoyaltyBonusOperationsApiFilterType; + * use RetailCrm\Api\Model\Request\Loyalty\AllBonusOperationsRequest; * * $client = SimpleClientFactory::createClient('https://test.retailcrm.pro', 'apiKey'); * * $request = new AllBonusOperationsRequest(); - * $request->limit = 10; + * $request->limit = PaginationLimit::LIMIT_20; * $request->cursor = '12345'; * $request->filter = new LoyaltyBonusOperationsApiFilterType([1, 2, 3]); *