Completed
Push — master ( c382c8...ae2bb1 )
by Denis
02:43 queued 01:14
created
src/GridViewServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 	 */
14 14
 	public function boot()
15 15
 	{
16
-		$this->loadViewsFrom(__DIR__.'/../views', 'woo_gridview');
16
+		$this->loadViewsFrom(__DIR__ . '/../views', 'woo_gridview');
17 17
 
18 18
 		require_once __DIR__ . '/functions.php';
19 19
 	}
Please login to merge, or discard this patch.
src/DataProviders/ArrayDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,6 @@
 block discarded – undo
41 41
      */
42 42
     public function getData(int $page, int $perPage)
43 43
     {
44
-        return array_splice($this->data, ($page -1) * $perPage, $perPage);
44
+        return array_splice($this->data, ($page - 1) * $perPage, $perPage);
45 45
     }
46 46
 }
47 47
\ No newline at end of file
Please login to merge, or discard this patch.