Skip to content

Commit 4e6800b

Browse files
committed
remove AbstractApi::PER_PAGE constant
1 parent 6b037a1 commit 4e6800b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

UPGRADE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ See [documentation](doc/customize.md) to know how to customize the client timeou
1313
* The `setHttpClient` method have been removed. Use a `Gitlab\HttpClient\Builder` instead.
1414
* The `getHttpClient` method return type is changed to `Http\Client\Common\HttpMethodsClient`.
1515

16+
## `Gitlab\Api\AbstractApi` changes
17+
18+
* The `PER_PAGE` class constant have been removed.
19+
1620
## `Gitlab\Api\DeployKeys` changes
1721

1822
* The `all` method now take a single argument which is an associative array of query string parameters.

lib/Gitlab/Api/AbstractApi.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
*/
2020
abstract class AbstractApi implements ApiInterface
2121
{
22-
/**
23-
* Default entries per page
24-
*/
25-
const PER_PAGE = 20;
26-
2722
/**
2823
* The client
2924
*

0 commit comments

Comments
 (0)