From b57c9c40725afae2e52a702b2cd800a99214df7d Mon Sep 17 00:00:00 2001 From: Alexandr Chernyaev Date: Wed, 10 May 2023 21:01:59 +0300 Subject: [PATCH] Update presenters.md --- docs/en/docs/presenters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/presenters.md b/docs/en/docs/presenters.md index e584c116f..33c46162b 100644 --- a/docs/en/docs/presenters.md +++ b/docs/en/docs/presenters.md @@ -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(); }