Skip to content

Commit

Permalink
Added missing code doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Mar 10, 2021
1 parent c04cfd0 commit 4a2bdd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Query/Pagination/Paginator.php
Expand Up @@ -51,6 +51,11 @@ protected function updateServerControls(LdapInterface $ldap, $resource)
$this->resetPageSize();
}

/**
* Reset the page control page size.
*
* @return void
*/
protected function resetPageSize()
{
$this->query->controls[LDAP_CONTROL_PAGEDRESULTS]['value']['size'] = $this->perPage;
Expand Down

0 comments on commit 4a2bdd3

Please sign in to comment.