@@ -44,35 +44,35 @@ |
||
44 | 44 | |
45 | 45 | private function _registerDataTable(): void |
46 | 46 | { |
47 | - $this->app->bind('datatable', function () { |
|
47 | + $this->app->bind('datatable', function() { |
|
48 | 48 | return new DataTable(); |
49 | 49 | }); |
50 | 50 | } |
51 | 51 | |
52 | 52 | private function _registerSessionHelper(): void |
53 | 53 | { |
54 | - $this->app->singleton('session_helper', function () { |
|
54 | + $this->app->singleton('session_helper', function() { |
|
55 | 55 | return new SessionHelper(); |
56 | 56 | }); |
57 | 57 | } |
58 | 58 | |
59 | 59 | private function _registerUrlHelper(): void |
60 | 60 | { |
61 | - $this->app->singleton('url_helper', function () { |
|
61 | + $this->app->singleton('url_helper', function() { |
|
62 | 62 | return new UrlHelper(); |
63 | 63 | }); |
64 | 64 | } |
65 | 65 | |
66 | 66 | private function _registerTableRenderer(): void |
67 | 67 | { |
68 | - $this->app->singleton('table_renderer', function () { |
|
68 | + $this->app->singleton('table_renderer', function() { |
|
69 | 69 | return new TableRenderer(); |
70 | 70 | }); |
71 | 71 | } |
72 | 72 | |
73 | 73 | private function _setDataTableAlias(): void |
74 | 74 | { |
75 | - $this->app->booting(function () { |
|
75 | + $this->app->booting(function() { |
|
76 | 76 | AliasLoader::getInstance()->alias('DataTable', DataTableFacade::class); |
77 | 77 | }); |
78 | 78 | } |
@@ -166,7 +166,7 @@ |
||
166 | 166 | $end = $this->_getEndPage(); |
167 | 167 | |
168 | 168 | $pageList = ''; |
169 | - for ($i = $this->_getStartPage(); $i <= $end; $i ++) |
|
169 | + for ($i = $this->_getStartPage(); $i <= $end; $i++) |
|
170 | 170 | { |
171 | 171 | $pageList .= $this->_renderListItem($i, $this->_buildPageUrl($i)); |
172 | 172 | } |