Skip to content

Commit 99620ec

Browse files
committed
Set default limits for Membership and Result services
1 parent cd07ee0 commit 99620ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Service/Membership.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Membership extends Service
3434
/**
3535
* Default limit on size of container to be returned from requests.
3636
*/
37-
public static $defaultLimit = null;
37+
public static $defaultLimit = 100;
3838

3939
/**
4040
* The object to which the memberships apply (ResourceLink or Context).

src/Service/Result.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Result extends AssignmentGrade
2323
/**
2424
* Default limit on size of container to be returned from requests.
2525
*/
26-
public static $defaultLimit = null;
26+
public static $defaultLimit = 500;
2727

2828
/**
2929
* Limit on size of container to be returned from requests.

0 commit comments

Comments
 (0)