@@ -39,7 +39,7 @@ |
||
39 | 39 | $query = new UserRecords(); |
40 | 40 | |
41 | 41 | // set current page and offset |
42 | - $page = (int)App::$Request->query->get('page', 0); |
|
42 | + $page = (int) App::$Request->query->get('page', 0); |
|
43 | 43 | $offset = $page * self::ITEM_PER_PAGE; |
44 | 44 | |
45 | 45 | // build pagination |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | // render view output |
33 | 33 | return App::$View->render('index', [ |
34 | - 'model' => $model->filter() |
|
34 | + 'model' => $model->filter() |
|
35 | 35 | ]); |
36 | 36 | } |
37 | 37 | } |
38 | 38 | \ No newline at end of file |