@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | require_once __DIR__ . '/functions.php'; |
19 | 19 | |
20 | - \Blade::directive('grid', function ($expression) { |
|
20 | + \Blade::directive('grid', function($expression) { |
|
21 | 21 | return "<?php echo grid($expression)->render() ?>"; |
22 | 22 | }); |
23 | 23 |
@@ -8,6 +8,6 @@ |
||
8 | 8 | { |
9 | 9 | public function __construct(string $url, string $content = '<i class="fa fa-edit"></i>') |
10 | 10 | { |
11 | - parent::__construct($url, $content, 'GET'); |
|
11 | + parent::__construct($url, $content, 'GET'); |
|
12 | 12 | } |
13 | 13 | } |
14 | 14 | \ No newline at end of file |
@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | return array_splice( |
75 | 75 | $tmp, |
76 | - ($request->page -1) * $request->perPage, $request->perPage |
|
76 | + ($request->page - 1) * $request->perPage, $request->perPage |
|
77 | 77 | ); |
78 | 78 | } |
79 | 79 | } |
80 | 80 | \ No newline at end of file |