diff --git a/core/lib/Drupal/Core/Pager/Pager.php b/core/lib/Drupal/Core/Pager/Pager.php index 96d5ed6..b5bf334 100644 --- a/core/lib/Drupal/Core/Pager/Pager.php +++ b/core/lib/Drupal/Core/Pager/Pager.php @@ -115,7 +115,8 @@ public function getElement() { public function init($total, $limit) { // The total number of pages to be managed by the pager is given by the // total number of items ($total) divided by the number of items in each - // page ($limit). We take the nearest integer to accomodate any remainder. + // page ($limit). We round up to the next integer to accommodate any + // remainder. $this ->setTotalItems($total) ->setTotalPages((int) ceil($this->getTotalItems() / $limit))