Skip to content

Commit 577c8eb

Browse files
authored
Update README.md
1 parent c605f7e commit 577c8eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ $orders = Order::options(['status' => 'processing', 'orderby' => 'id', 'order' =
372372
$orders = Order::all(['status' => 'processing', 'orderby' => 'id', 'order' => 'asc']);
373373
374374
// Data with pagination
375-
$products = Product::paginate(25, 1); // first parameter means how much you want to display per_page, second parameter current page
375+
$products = Product::paginate(25, 1); // first parameter means how much you want to display per_page, second parameter current page. Default value 1
376376
Or
377377
$products = (new Product)->paginate(25, 5); // first parameter means how much data you want to display per_page, second parameter current page
378378
```

0 commit comments

Comments
 (0)