Skip to content

Commit

Permalink
Update presenters.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored May 10, 2023
1 parent 61d3d3d commit b57c9c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/docs/presenters.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ If you want to get a list of presenters, use collection methods, for example:
```php
use App\Customer;

$customer = Customer::limit(10)->get()->map->presenter();
$customers = Customer::limit(10)->get()->map->presenter();

foreach($customer as $customer)
foreach($customers as $customer)
{
$customer->fullName();
}
Expand Down

0 comments on commit b57c9c4

Please sign in to comment.