Skip to content

Commit

Permalink
Merge pull request #108 from nike-17/patch-1
Browse files Browse the repository at this point in the history
fix mistype in comment
  • Loading branch information
pilot committed Jun 26, 2014
2 parents ec65f54 + 147bb5b commit e2c38ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Knp/Component/Pager/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function paginate($target, $page = 1, $limit = 10, array $options = array
if (!$paginationEvent->isPropagationStopped()) {
throw new \RuntimeException('One of listeners must create pagination view');
}
// pagination class can be diferent, with diferent rendering methods
// pagination class can be different, with different rendering methods
$paginationView = $paginationEvent->getPagination();
$paginationView->setCustomParameters($itemsEvent->getCustomPaginationParameters());
$paginationView->setCurrentPageNumber($page);
Expand Down

0 comments on commit e2c38ab

Please sign in to comment.