Skip to content
Browse files

Use constructor instead.

  • Loading branch information...
dereuromark committed Sep 21, 2014
1 parent 1c788ef commit 7e22970cd167a55ac5712cb99b585ef270cf8fc7
Showing with 6 additions and 5 deletions.
  1. +6 −5 src/View/Helper/PaginatorHelper.php
@@ -77,13 +77,14 @@ class PaginatorHelper extends Helper {
* Before render callback. Overridden to merge passed args with URL options.
* Constructor. Overridden to merge passed args with URL options.
* @param \Cake\Event\Event $event The event instance.
* @param string $viewFile The view file being rendered.
* @return void
* @param \Cake\View\View $View The View this helper is being attached to.
* @param array $config Configuration settings for the helper.
public function beforeRender(Event $event, $viewFile) {
public function __construct(View $View, array $config = array()) {
parent::__construct($View, $config);
array_merge($this->request->params['pass'], $this->request->query)

0 comments on commit 7e22970

Please sign in to comment.
You can’t perform that action at this time.