Pull Request 

You may do this
```php
$pagination = array(
    'max' => $max,
    'last_page' = $last_page,
    'pagenum' => $pagenum,
    'control' => $control,
);
```