From 80496fb0f0a274cf64968252e702b2d57b14c162 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Mon, 29 Aug 2022 13:23:02 +0500 Subject: [PATCH] Fix little grammer --- src/Listeners/UpdateSyncedResource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Listeners/UpdateSyncedResource.php b/src/Listeners/UpdateSyncedResource.php index 2f06841e..8a236761 100644 --- a/src/Listeners/UpdateSyncedResource.php +++ b/src/Listeners/UpdateSyncedResource.php @@ -125,8 +125,8 @@ class UpdateSyncedResource extends QueueableListener $attributes = $model->getAttributes(); if ($model->getResourceCreationAttributes()) { - // If developer provided key-value array, we'll use them as it - // If developer provided plain array, we'll use them to pick model attributes + // If the developer provided a key-value array, we'd use them as it + // If the developer provided a plain array, we'd use them to pick model attributes $attributes = Arr::isAssoc($model->getResourceCreationAttributes()) ? $model->getResourceCreationAttributes() : $model->only($model->getResourceCreationAttributes()); }